public class NeutronSecurityGroup extends Object implements SecurityGroup
Modifier and Type | Class and Description |
---|---|
static class |
NeutronSecurityGroup.SecurityGroupConcreteBuilder
The Class SecurityGroupConcreteBuilder.
|
static class |
NeutronSecurityGroup.SecurityGroups
The Class SecurityGroups.
|
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
NeutronSecurityGroup() |
Modifier and Type | Method and Description |
---|---|
static NetSecurityGroupBuilder |
builder() |
String |
getDescription()
Gets the description.
|
String |
getId() |
String |
getName() |
List<? extends SecurityGroupRule> |
getRules()
Gets the rules.
|
String |
getTenantId() |
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
NetSecurityGroupBuilder |
toBuilder() |
String |
toString() |
public String getDescription()
getDescription
in interface SecurityGroup
public String getId()
public String getTenantId()
getTenantId
in interface Resource
public String getName()
getName
in interface BasicResource
public void setId(String id)
public void setName(String name)
setName
in interface BasicResource
name
- the name to setpublic void setTenantId(String tenantId)
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic List<? extends SecurityGroupRule> getRules()
getRules
in interface SecurityGroup
public NetSecurityGroupBuilder toBuilder()
toBuilder
in interface Buildable<NetSecurityGroupBuilder>
public static NetSecurityGroupBuilder builder()
Copyright © 2017. All rights reserved.