public static class NovaSecGroupExtension.SecurityGroupRule extends Object implements SecGroupExtension.Rule
Modifier and Type | Class and Description |
---|---|
static class |
NovaSecGroupExtension.SecurityGroupRule.RuleConcreteBuilder |
static class |
NovaSecGroupExtension.SecurityGroupRule.RuleGroup
Security Group Rule -> Group
|
static class |
NovaSecGroupExtension.SecurityGroupRule.RuleIpRange
Security Group Rule -> IP Range
|
SecGroupExtension.Rule.Group, SecGroupExtension.Rule.IpRange
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
SecurityGroupRule() |
Modifier and Type | Method and Description |
---|---|
static SecurityGroupRuleBuilder |
builder() |
int |
getFromPort() |
SecGroupExtension.Rule.Group |
getGroup() |
String |
getId() |
IPProtocol |
getIPProtocol() |
String |
getName() |
String |
getParentGroupId()
Gets the parent group id.
|
SecGroupExtension.Rule.IpRange |
getRange() |
int |
getToPort() |
SecurityGroupRuleBuilder |
toBuilder() |
String |
toString() |
public IPProtocol getIPProtocol()
getIPProtocol
in interface SecGroupExtension.Rule
public SecGroupExtension.Rule.Group getGroup()
getGroup
in interface SecGroupExtension.Rule
public SecGroupExtension.Rule.IpRange getRange()
getRange
in interface SecGroupExtension.Rule
public int getToPort()
getToPort
in interface SecGroupExtension.Rule
public int getFromPort()
getFromPort
in interface SecGroupExtension.Rule
public String getParentGroupId()
getParentGroupId
in interface SecGroupExtension.Rule
public String getName()
getName
in interface SecGroupExtension.Rule
public String getId()
getId
in interface SecGroupExtension.Rule
public SecurityGroupRuleBuilder toBuilder()
toBuilder
in interface Buildable<SecurityGroupRuleBuilder>
public static SecurityGroupRuleBuilder builder()
Copyright © 2017. All rights reserved.