Class CreateFirewall.Builder

  • Enclosing class:
    CreateFirewall

    public abstract static class CreateFirewall.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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.
      • getFirewallPolicyId

        @Nullable
        public abstract String getFirewallPolicyId()