Interface FirewallPolicyBuilder
-
- All Superinterfaces:
Buildable.Builder<FirewallPolicyBuilder,FirewallPolicy>
- All Known Implementing Classes:
AbstractNeutronFirewallPolicy.FirewallPolicyConcreteBuilder
public interface FirewallPolicyBuilder extends Buildable.Builder<FirewallPolicyBuilder,FirewallPolicy>
A Builder to Create FirewallPolicy of FwaaS.- Author:
- Vishvesh Deshmukh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirewallPolicyBuilder
audited(Boolean audited)
FirewallPolicyBuilder
description(String description)
FirewallPolicyBuilder
firewallRules(List<String> ruleIdList)
FirewallPolicyBuilder
name(String name)
FirewallPolicyBuilder
shared(Boolean shared)
FirewallPolicyBuilder
tenantId(String tenantId)
-
Methods inherited from interface org.openstack4j.common.Buildable.Builder
build, from
-
-
-
-
Method Detail
-
name
FirewallPolicyBuilder name(String name)
- Parameters:
name
- : Human readable name for the FirewallPolicy (255 characters limit). Does not have to be unique.- Returns:
- FirewallPolicyBuilder
-
tenantId
FirewallPolicyBuilder tenantId(String tenantId)
- Parameters:
tenantId
- : Owner of the FirewallPolicy. Only an administrative user can specify a tenant ID other than its own.- Returns:
- FirewallPolicyBuilder
-
description
FirewallPolicyBuilder description(String description)
- Parameters:
description
- : Human readable description for the FirewallPolicy (1024 characters limit).- Returns:
- FirewallPolicyBuilder
-
shared
FirewallPolicyBuilder shared(Boolean shared)
- Parameters:
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.- Returns:
- FirewallPolicyBuilder
-
audited
FirewallPolicyBuilder audited(Boolean audited)
- Parameters:
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.- Returns:
- FirewallPolicyBuilder
-
firewallRules
FirewallPolicyBuilder firewallRules(List<String> ruleIdList)
- Parameters:
firewallRules
- (UUID)List : This is an ordered list of firewall rule uuids. The firewall applies the rules in the order in which they appear in this list.- Returns:
- FirewallPolicyBuilder
-
-