public class NeutronFirewallRule extends Object implements FirewallRule
| Modifier and Type | Class and Description |
|---|---|
static class |
NeutronFirewallRule.FirewallRuleAction
Action of a Neutron (Firewall Rule - FwaaS) entity.
|
static class |
NeutronFirewallRule.FirewallRuleConcreteBuilder |
static class |
NeutronFirewallRule.FirewallRules |
static class |
NeutronFirewallRule.IPProtocol
IPProtocolType of a Neutron (Firewall Rule - FwaaS) entity.
|
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>| Constructor and Description |
|---|
NeutronFirewallRule() |
| Modifier and Type | Method and Description |
|---|---|
static FirewallRuleBuilder |
builder() |
NeutronFirewallRule.FirewallRuleAction |
getAction() |
String |
getDescription() |
String |
getDestinationIpAddress() |
String |
getDestinationPort() |
String |
getId() |
IPVersionType |
getIpVersion() |
String |
getName() |
String |
getPolicy() |
Integer |
getPosition() |
NeutronFirewallRule.IPProtocol |
getProtocol() |
String |
getSourceIpAddress() |
String |
getSourcePort() |
String |
getTenantId() |
Boolean |
isEnabled() |
Boolean |
isShared() |
FirewallRuleBuilder |
toBuilder()
Wrap this FirewallRule to a builder
|
String |
toString() |
public FirewallRuleBuilder toBuilder()
toBuilder in interface Buildable<FirewallRuleBuilder>public static FirewallRuleBuilder builder()
public String getId()
getId in interface FirewallRulepublic String getName()
getName in interface FirewallRulepublic String getTenantId()
getTenantId in interface FirewallRulepublic String getDescription()
getDescription in interface FirewallRulepublic Boolean isShared()
isShared in interface FirewallRulepublic String getPolicy()
getPolicy in interface FirewallRulenull if the rule is not
associated with any firewall policy.public NeutronFirewallRule.IPProtocol getProtocol()
getProtocol in interface FirewallRuleNeutronFirewallRule.IPProtocolpublic IPVersionType getIpVersion()
getIpVersion in interface FirewallRuleIPVersionTypepublic String getSourceIpAddress()
getSourceIpAddress in interface FirewallRulepublic String getDestinationIpAddress()
getDestinationIpAddress in interface FirewallRulepublic String getSourcePort()
getSourcePort in interface FirewallRulepublic String getDestinationPort()
getDestinationPort in interface FirewallRulepublic Integer getPosition()
getPosition in interface FirewallRulenull if the firewall rule is not associated with any policy.public NeutronFirewallRule.FirewallRuleAction getAction()
getAction in interface FirewallRuleNeutronFirewallRule.FirewallRuleActionpublic Boolean isEnabled()
isEnabled in interface FirewallRuleCopyright © 2017. All rights reserved.