Interface FirewallPolicyResponse.Builder

  • Method Details

    • firewallPolicyName

      FirewallPolicyResponse.Builder firewallPolicyName(String firewallPolicyName)

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

      Parameters:
      firewallPolicyName - The descriptive name of the firewall 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.
    • firewallPolicyArn

      FirewallPolicyResponse.Builder firewallPolicyArn(String firewallPolicyArn)

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

      If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

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

      If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

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

      FirewallPolicyResponse.Builder firewallPolicyId(String firewallPolicyId)

      The unique identifier for the firewall policy.

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

      FirewallPolicyResponse.Builder description(String description)

      A description of the firewall policy.

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

      FirewallPolicyResponse.Builder firewallPolicyStatus(String firewallPolicyStatus)

      The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

      Parameters:
      firewallPolicyStatus - The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallPolicyStatus

      FirewallPolicyResponse.Builder firewallPolicyStatus(ResourceStatus firewallPolicyStatus)

      The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

      Parameters:
      firewallPolicyStatus - The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusMessage

      FirewallPolicyResponse.Builder statusMessage(String statusMessage)

      Additional detail about the firewall policy's current status, when applicable. For example, while an Amazon Route 53 Resolver DNS Firewall rule group change is in progress, the status is UPDATING and this message is "A DNS Firewall rule group change is in progress."

      Parameters:
      statusMessage - Additional detail about the firewall policy's current status, when applicable. For example, while an Amazon Route 53 Resolver DNS Firewall rule group change is in progress, the status is UPDATING and this message is "A DNS Firewall rule group change is in progress."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key:value pairs to associate with the resource.

      Parameters:
      tags - The key:value pairs to associate with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key:value pairs to associate with the resource.

      Parameters:
      tags - The key:value pairs to associate with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key:value pairs to associate with the resource.

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

      FirewallPolicyResponse.Builder consumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)

      The number of capacity units currently consumed by the policy's stateless rules.

      Parameters:
      consumedStatelessRuleCapacity - The number of capacity units currently consumed by the policy's stateless rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedStatefulRuleCapacity

      FirewallPolicyResponse.Builder consumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)

      The number of capacity units currently consumed by the policy's stateful rules.

      Parameters:
      consumedStatefulRuleCapacity - The number of capacity units currently consumed by the policy's stateful rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consumedStatefulDomainCapacity

      FirewallPolicyResponse.Builder consumedStatefulDomainCapacity(Integer consumedStatefulDomainCapacity)

      The total number of domain name specifications across all domain list rule groups in the firewall policy that use the stateful-domain-rulegroup resource type.

      Parameters:
      consumedStatefulDomainCapacity - The total number of domain name specifications across all domain list rule groups in the firewall policy that use the stateful-domain-rulegroup resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfAssociations

      FirewallPolicyResponse.Builder numberOfAssociations(Integer numberOfAssociations)

      The number of firewalls that are associated with this firewall policy.

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

      FirewallPolicyResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

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

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

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

      A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall 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 firewall 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 firewall 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 firewall 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 firewall 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 firewall 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

      FirewallPolicyResponse.Builder lastModifiedTime(Instant lastModifiedTime)

      The last time that the firewall policy was changed.

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