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 Details

    • Builder

      public Builder()
  • Method Details

    • 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.
    • getTenantId

      @Nullable public abstract String getTenantId()
    • getName

      @Nullable public abstract String getName()
    • getDescription

      @Nullable public abstract String getDescription()
    • getShared

      @Nullable public abstract Boolean getShared()
    • getFirewallRules

      @Nullable public abstract List<String> getFirewallRules()
    • getAudited

      @Nullable public abstract Boolean getAudited()
    • build

      public CreateFirewallPolicy build()