public static class AbstractNeutronFirewallPolicy.FirewallPolicyConcreteBuilder extends Object implements FirewallPolicyBuilder
Constructor and Description |
---|
FirewallPolicyConcreteBuilder() |
FirewallPolicyConcreteBuilder(FirewallPolicy f) |
Modifier and Type | Method and Description |
---|---|
FirewallPolicyBuilder |
audited(Boolean audited) |
FirewallPolicy |
build()
Creates and return the Model Entity M
|
FirewallPolicyBuilder |
description(String description) |
FirewallPolicyBuilder |
firewallRules(List<String> ruleIdList) |
FirewallPolicyBuilder |
from(FirewallPolicy in)
Creates a Builder using the param M as the default values
|
FirewallPolicyBuilder |
name(String name) |
FirewallPolicyBuilder |
shared(Boolean shared) |
FirewallPolicyBuilder |
tenantId(String tenantId) |
public FirewallPolicyConcreteBuilder()
public FirewallPolicyConcreteBuilder(FirewallPolicy f)
public FirewallPolicy build()
Buildable.Builder
build
in interface Buildable.Builder<FirewallPolicyBuilder,FirewallPolicy>
public FirewallPolicyBuilder from(FirewallPolicy in)
Buildable.Builder
from
in interface Buildable.Builder<FirewallPolicyBuilder,FirewallPolicy>
public FirewallPolicyBuilder tenantId(String tenantId)
tenantId
in interface FirewallPolicyBuilder
tenantId
- : Owner of the FirewallPolicy. Only an administrative user can
specify a tenant ID other than its own.public FirewallPolicyBuilder name(String name)
name
in interface FirewallPolicyBuilder
name
- : Human readable name for the FirewallPolicy (255 characters limit). Does not have to be unique.public FirewallPolicyBuilder description(String description)
description
in interface FirewallPolicyBuilder
description
- : Human readable description for the FirewallPolicy (1024 characters limit).public FirewallPolicyBuilder shared(Boolean shared)
shared
in interface FirewallPolicyBuilder
shared
- : When set to True makes this FirewallPolicy visible to tenants other
than its owner, and can be used in FirewallPolicy not owned by its tenant.public FirewallPolicyBuilder audited(Boolean audited)
audited
in interface FirewallPolicyBuilder
audited
- : When set to True by the policy owner indicates that the firewall policy has been audited.
This attribute is meant to aid in the firewall policy audit workflows.
Each time the firewall policy or the associated firewall rules are changed,
this attribute will be set to False and will have to be explicitly set
to True through an update operation.public FirewallPolicyBuilder firewallRules(List<String> ruleIdList)
firewallRules
in interface FirewallPolicyBuilder
Copyright © 2017. All rights reserved.