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 SecurityGrouppublic String getId()
public String getTenantId()
getTenantId in interface Resourcepublic String getName()
getName in interface BasicResourcepublic void setId(String id)
public void setName(String name)
setName in interface BasicResourcename - the name to setpublic void setTenantId(String tenantId)
setTenantId in interface ResourcetenantId - the tenant id to setpublic List<? extends SecurityGroupRule> getRules()
getRules in interface SecurityGrouppublic NetSecurityGroupBuilder toBuilder()
toBuilder in interface Buildable<NetSecurityGroupBuilder>public static NetSecurityGroupBuilder builder()
Copyright © 2017. All rights reserved.