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 FirewallRule
public String getName()
getName
in interface FirewallRule
public String getTenantId()
getTenantId
in interface FirewallRule
public String getDescription()
getDescription
in interface FirewallRule
public Boolean isShared()
isShared
in interface FirewallRule
public String getPolicy()
getPolicy
in interface FirewallRule
null
if the rule is not
associated with any firewall policy.public NeutronFirewallRule.IPProtocol getProtocol()
getProtocol
in interface FirewallRule
NeutronFirewallRule.IPProtocol
public IPVersionType getIpVersion()
getIpVersion
in interface FirewallRule
IPVersionType
public String getSourceIpAddress()
getSourceIpAddress
in interface FirewallRule
public String getDestinationIpAddress()
getDestinationIpAddress
in interface FirewallRule
public String getSourcePort()
getSourcePort
in interface FirewallRule
public String getDestinationPort()
getDestinationPort
in interface FirewallRule
public Integer getPosition()
getPosition
in interface FirewallRule
null
if the firewall rule is not associated with any policy.public NeutronFirewallRule.FirewallRuleAction getAction()
getAction
in interface FirewallRule
NeutronFirewallRule.FirewallRuleAction
public Boolean isEnabled()
isEnabled
in interface FirewallRule
Copyright © 2017. All rights reserved.