org.jclouds.openstack.nova.v2_0.domain
Class SecurityGroup

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.domain.SecurityGroup

public class SecurityGroup
extends Object

Defines a security group


Nested Class Summary
static class SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
           
 
Constructor Summary
protected SecurityGroup(String id, String tenantId, String name, String description, Set<SecurityGroupRule> rules)
           
 
Method Summary
static SecurityGroup.Builder<?> builder()
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getId()
           
 String getName()
           
 Set<SecurityGroupRule> getRules()
           
 String getTenantId()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 SecurityGroup.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityGroup

@ConstructorProperties(value={"id","tenant_id","name","description","rules"})
protected SecurityGroup(String id,
                                                   @Nullable
                                                   String tenantId,
                                                   @Nullable
                                                   String name,
                                                   @Nullable
                                                   String description,
                                                   Set<SecurityGroupRule> rules)
Method Detail

builder

public static SecurityGroup.Builder<?> builder()

toBuilder

public SecurityGroup.Builder<?> toBuilder()

getId

public String getId()

getTenantId

@Nullable
public String getTenantId()

getName

@Nullable
public String getName()

getDescription

@Nullable
public String getDescription()

getRules

public Set<SecurityGroupRule> getRules()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.