Class SecurityGroup
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.SecurityGroup
-
public class SecurityGroup extends Object
Defines a security group
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
SecurityGroup(String id, String tenantId, String name, String description, Set<SecurityGroupRule> rules)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.MoreObjects.ToStringHelper
string()
SecurityGroup.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
SecurityGroup
@ConstructorProperties({"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()
-
getRules
public Set<SecurityGroupRule> getRules()
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-