public class AbstractNeutronFirewallPolicy extends Object implements FirewallPolicy
This is the Parent class which is extended by NeutronFirewallPolicy
& NeutronFirewalPolicyRule
classes.
Prior has `@JsonRootName("firewall_policy")` attribute whereas the later doesn't have
(which is used by `rule_insert/rule_remove` calls - which doesn't require JsonRootName).
NeutronFirewallPolicy
,
NeutronFirewallPolicyRule
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
AbstractNeutronFirewallPolicy.FirewallPolicies |
static class |
AbstractNeutronFirewallPolicy.FirewallPolicyConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
audited |
protected String |
description |
protected List<String> |
firewallRules |
protected String |
id |
protected String |
name |
protected List<NeutronFirewallRule> |
neutronFirewallRules |
protected Boolean |
shared |
protected String |
tenantId |
Constructor and Description |
---|
AbstractNeutronFirewallPolicy() |
Modifier and Type | Method and Description |
---|---|
static FirewallPolicyBuilder |
builder() |
String |
getDescription() |
List<String> |
getFirewallList() |
List<String> |
getFirewallRuleIds() |
String |
getId() |
String |
getName() |
List<? extends FirewallRule> |
getNeutronFirewallRules() |
String |
getTenantId() |
Boolean |
isAudited() |
Boolean |
isShared() |
FirewallPolicyBuilder |
toBuilder()
Wrap this FirewallPolicy to a builder
|
String |
toString() |
protected String id
protected String name
protected String tenantId
protected String description
protected Boolean shared
protected Boolean audited
protected List<NeutronFirewallRule> neutronFirewallRules
public FirewallPolicyBuilder toBuilder()
toBuilder
in interface Buildable<FirewallPolicyBuilder>
public static FirewallPolicyBuilder builder()
public String getId()
getId
in interface FirewallPolicy
public String getName()
getName
in interface FirewallPolicy
public String getTenantId()
getTenantId
in interface FirewallPolicy
public String getDescription()
getDescription
in interface FirewallPolicy
public Boolean isShared()
isShared
in interface FirewallPolicy
public Boolean isAudited()
isAudited
in interface FirewallPolicy
public List<String> getFirewallRuleIds()
getFirewallRuleIds
in interface FirewallPolicy
public List<? extends FirewallRule> getNeutronFirewallRules()
getNeutronFirewallRules
in interface FirewallPolicy
FirewallRule
public List<String> getFirewallList()
getFirewallList
in interface FirewallPolicy
Copyright © 2017. All rights reserved.