Interface FirewallPolicyV2Response.Builder

  • Method Details

    • firewallPolicyV2Name

      FirewallPolicyV2Response.Builder firewallPolicyV2Name(String firewallPolicyV2Name)

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

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

      FirewallPolicyV2Response.Builder firewallPolicyV2Arn(String firewallPolicyV2Arn)

      The Amazon Resource Name (ARN) of the Next Generation policy.

      Parameters:
      firewallPolicyV2Arn - The Amazon Resource Name (ARN) of the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallPolicyV2Id

      FirewallPolicyV2Response.Builder firewallPolicyV2Id(String firewallPolicyV2Id)

      The unique identifier of the Next Generation policy. Network Firewall assigns this identifier when you create the policy.

      Parameters:
      firewallPolicyV2Id - The unique identifier of the Next Generation policy. Network Firewall assigns this identifier when you create the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      FirewallPolicyV2Response.Builder description(String description)

      A description of the Next Generation policy.

      Parameters:
      description - A description of the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallPolicyV2Status

      FirewallPolicyV2Response.Builder firewallPolicyV2Status(String firewallPolicyV2Status)

      The current status of the Next Generation policy. A policy must be in the ACTIVE state before you can use it in a firewall.

      Parameters:
      firewallPolicyV2Status - The current status of the Next Generation policy. A policy must be in the ACTIVE state before you can use it in a firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallPolicyV2Status

      FirewallPolicyV2Response.Builder firewallPolicyV2Status(ResourceStatus firewallPolicyV2Status)

      The current status of the Next Generation policy. A policy must be in the ACTIVE state before you can use it in a firewall.

      Parameters:
      firewallPolicyV2Status - The current status of the Next Generation policy. A policy must be in the ACTIVE state before you can use it in a firewall.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      FirewallPolicyV2Response.Builder statusMessage(String statusMessage)

      Additional information about the current status of the Next Generation policy.

      Parameters:
      statusMessage - Additional information about the current status of the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value tag pairs that are associated with the Next Generation policy.

      Parameters:
      tags - The key-value tag pairs that are associated with the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value tag pairs that are associated with the Next Generation policy.

      Parameters:
      tags - The key-value tag pairs that are associated with the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key-value tag pairs that are associated with the Next Generation policy.

      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:
    • consumedFirewallRuleCapacity

      FirewallPolicyV2Response.Builder consumedFirewallRuleCapacity(Integer consumedFirewallRuleCapacity)

      The number of firewall engine rule capacity units that the policy's firewall section currently consumes.

      Parameters:
      consumedFirewallRuleCapacity - The number of firewall engine rule capacity units that the policy's firewall section currently consumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedIpsRuleCapacity

      FirewallPolicyV2Response.Builder consumedIpsRuleCapacity(Integer consumedIpsRuleCapacity)

      The number of IPS engine rule capacity units that the policy's IPS section currently consumes.

      Parameters:
      consumedIpsRuleCapacity - The number of IPS engine rule capacity units that the policy's IPS section currently consumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedIpsDomainCapacity

      FirewallPolicyV2Response.Builder consumedIpsDomainCapacity(Integer consumedIpsDomainCapacity)

      The number of IPS domain list capacity units that the policy's IPS section currently consumes.

      Parameters:
      consumedIpsDomainCapacity - The number of IPS domain list capacity units that the policy's IPS section currently consumes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfAssociations

      FirewallPolicyV2Response.Builder numberOfAssociations(Integer numberOfAssociations)

      The number of firewalls that are associated with the Next Generation policy.

      Parameters:
      numberOfAssociations - The number of firewalls that are associated with the Next Generation policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      FirewallPolicyV2Response.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

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

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

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

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

      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:
    • errors

      Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.

      Parameters:
      errors - Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.

      Parameters:
      errors - Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Any configuration errors that apply to the Next Generation policy. Network Firewall detects these errors asynchronously, after you create or update the policy, so an error can appear after the request that caused it has already succeeded. Each entry describes the problem and how to resolve it, and Network Firewall clears it automatically after you resolve the problem.

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

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

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

      FirewallPolicyV2Response.Builder lastModifiedTime(Instant lastModifiedTime)

      The last time that the Next Generation policy was changed.

      Parameters:
      lastModifiedTime - The last time that the Next Generation policy was changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.