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 classSecurityGroup.CreateBuilderCreate and Update builders (inheriting from Builder)static classSecurityGroup.CreateSecurityGroupCreate 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.CreateBuildercreateBuilder()booleanequals(Object o)StringgetDescription()StringgetId()StringgetName()com.google.common.collect.ImmutableList<Rule>getRules()StringgetTenantId()inthashCode()StringtoString()
-
-
-
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
-
-