Class CreateFirewallPolicy.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.CreateFirewallPolicy.Builder
-
- Enclosing class:
- CreateFirewallPolicy
public abstract static class CreateFirewallPolicy.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CreateFirewallPolicy.Builderaudited(Boolean audited)CreateFirewallPolicybuild()abstract CreateFirewallPolicy.Builderdescription(String description)abstract CreateFirewallPolicy.BuilderfirewallRules(List<String> firewallRules)abstract BooleangetAudited()abstract StringgetDescription()abstract List<String>getFirewallRules()abstract StringgetName()abstract BooleangetShared()abstract StringgetTenantId()abstract CreateFirewallPolicy.Buildername(String name)abstract CreateFirewallPolicy.Buildershared(Boolean shared)abstract CreateFirewallPolicy.BuildertenantId(String tenantId)
-
-
-
Method Detail
-
tenantId
public abstract CreateFirewallPolicy.Builder tenantId(String tenantId)
- Parameters:
tenantId- Owner of the firewall. Only admin users can specify a tenant_id other than its own.- Returns:
- The CreateFirewallPolicy builder.
-
name
public abstract CreateFirewallPolicy.Builder name(String name)
- Parameters:
name- Human readable name for the firewall (255 characters limit).- Returns:
- The CreateFirewallPolicy builder.
-
description
public abstract CreateFirewallPolicy.Builder description(String description)
- Parameters:
description- Human readable description for the firewall (1024 characters limit).- Returns:
- The CreateFirewallPolicy builder.
-
shared
public abstract CreateFirewallPolicy.Builder shared(Boolean shared)
- Parameters:
shared- When set to True makes this firewall policy visible to tenants other than its owner and can be used to associate with firewalls not owned by its tenant.- Returns:
- The CreateFirewallPolicy builder.
-
firewallRules
public abstract CreateFirewallPolicy.Builder firewallRules(List<String> firewallRules)
- Parameters:
firewallRules- 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:
- The CreateFirewallPolicy builder.
-
audited
public abstract CreateFirewallPolicy.Builder 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 work flows. Each time the firewall policy or the associated firewall rules are changed, this attribute is set to False and must be explicitly set to True through an update operation.- Returns:
- The CreateFirewallPolicy builder.
-
build
public CreateFirewallPolicy build()
-
-