Class CreateFirewall.Builder
- java.lang.Object
-
- org.jclouds.openstack.neutron.v2.domain.CreateFirewall.Builder
-
- Enclosing class:
- CreateFirewall
public abstract static class CreateFirewall.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CreateFirewall.BuilderadminStateUp(Boolean adminStateUp)abstract CreateFirewallbuild()abstract CreateFirewall.Builderdescription(String description)abstract CreateFirewall.BuilderfirewallPolicyId(String firewallPolicyId)abstract BooleangetAdminStateUp()abstract StringgetDescription()abstract StringgetFirewallPolicyId()abstract StringgetName()abstract StringgetTenantId()abstract CreateFirewall.Buildername(String name)abstract CreateFirewall.BuildertenantId(String tenantId)
-
-
-
Method Detail
-
tenantId
public abstract CreateFirewall.Builder tenantId(String tenantId)
- Parameters:
tenantId- Owner of the firewall. Only admin users can specify a tenant_id other than its own.- Returns:
- The CreateFirewall builder.
-
name
public abstract CreateFirewall.Builder name(String name)
- Parameters:
name- Human readable name for the firewall (255 characters limit).- Returns:
- The CreateFirewall builder.
-
description
public abstract CreateFirewall.Builder description(String description)
- Parameters:
description- Human readable description for the firewall (1024 characters limit).- Returns:
- The CreateFirewall builder.
-
adminStateUp
public abstract CreateFirewall.Builder adminStateUp(Boolean adminStateUp)
- Parameters:
adminStateUp- The administrative state of the firewall. If False (down), the firewall does not forward any packets.- Returns:
- The CreateFirewall builder.
-
firewallPolicyId
public abstract CreateFirewall.Builder firewallPolicyId(String firewallPolicyId)
- Parameters:
firewallPolicyId- The firewall policy uuid that this firewall is associated with. This firewall implements the rules contained in the firewall policy represented by this uuid.- Returns:
- The CreateFirewall builder.
-
build
public abstract CreateFirewall build()
-
-