Class SecurityGroup
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.SecurityGroup
-
- Direct Known Subclasses:
SecurityGroup.CreateSecurityGroup
public class SecurityGroup extends Object
Contains a mapping between a MAC address and an IP address.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityGroup.CreateBuilder
Create and Update builders (inheriting from Builder)static class
SecurityGroup.CreateSecurityGroup
Create and Update options - extend the domain class, passed to API update and create calls.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityGroup.CreateBuilder
createBuilder()
boolean
equals(Object o)
String
getDescription()
String
getId()
String
getName()
com.google.common.collect.ImmutableList<Rule>
getRules()
String
getTenantId()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getTenantId
@Nullable public String getTenantId()
- Returns:
- The identifier of the tenant for this Security Group.
-
getDescription
@Nullable public String getDescription()
- Returns:
- The description of the Security Group.
-
getRules
public com.google.common.collect.ImmutableList<Rule> getRules()
- Returns:
- The collection of rules for this Security Group.
-
createBuilder
public static SecurityGroup.CreateBuilder createBuilder()
- Returns:
- the Builder for creating a new SecurityGroup
-
-