Interface Firewall.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Firewall.Builder,Firewall>, SdkBuilder<Firewall.Builder,Firewall>, SdkPojo
Enclosing class:
Firewall

public static interface Firewall.Builder extends SdkPojo, CopyableBuilder<Firewall.Builder,Firewall>
  • Method Details

    • firewallName

      Firewall.Builder firewallName(String firewallName)

      The descriptive name of the firewall. You can't change the name of a firewall after you create it.

      Parameters:
      firewallName - The descriptive name of the firewall. You can't change the name of a firewall after you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallArn

      Firewall.Builder firewallArn(String firewallArn)

      The Amazon Resource Name (ARN) of the firewall.

      Parameters:
      firewallArn - The Amazon Resource Name (ARN) of the firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallPolicyArn

      Firewall.Builder firewallPolicyArn(String firewallPolicyArn)

      The Amazon Resource Name (ARN) of the firewall policy.

      The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

      Parameters:
      firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.

      The relationship of firewall to firewall policy is many to one. Each firewall requires one firewall policy association, and you can use the same firewall policy for multiple firewalls.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      Firewall.Builder vpcId(String vpcId)

      The unique identifier of the VPC where the firewall is in use.

      Parameters:
      vpcId - The unique identifier of the VPC where the firewall is in use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      Firewall.Builder subnetMappings(Collection<SubnetMapping> subnetMappings)

      The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

      Parameters:
      subnetMappings - The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      Firewall.Builder subnetMappings(SubnetMapping... subnetMappings)

      The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

      Parameters:
      subnetMappings - The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetMappings

      Firewall.Builder subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)

      The public subnets that Network Firewall is using for the firewall. Each subnet must belong to a different Availability Zone.

      This is a convenience method that creates an instance of the SubnetMapping.Builder avoiding the need to create one manually via SubnetMapping.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to subnetMappings(List<SubnetMapping>).

      Parameters:
      subnetMappings - a consumer that will call methods on SubnetMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deleteProtection

      Firewall.Builder deleteProtection(Boolean deleteProtection)

      A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE .

      Parameters:
      deleteProtection - A flag indicating whether it is possible to delete the firewall. A setting of TRUE indicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag to TRUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetChangeProtection

      Firewall.Builder subnetChangeProtection(Boolean subnetChangeProtection)

      A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

      Parameters:
      subnetChangeProtection - A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallPolicyChangeProtection

      Firewall.Builder firewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)

      A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.

      Parameters:
      firewallPolicyChangeProtection - A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to TRUE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Firewall.Builder description(String description)

      A description of the firewall.

      Parameters:
      description - A description of the firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallId

      Firewall.Builder firewallId(String firewallId)

      The unique identifier for the firewall.

      Parameters:
      firewallId - The unique identifier for the firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Parameters:
      tags -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Firewall.Builder tags(Tag... tags)

      Parameters:
      tags -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionConfiguration

      Firewall.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

      Parameters:
      encryptionConfiguration - A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default Firewall.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: