Interface FirewallPolicyResponse.Builder

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

public static interface FirewallPolicyResponse.Builder extends SdkPojo, CopyableBuilder<FirewallPolicyResponse.Builder,FirewallPolicyResponse>
  • 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:
    • 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.
    • 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:
    • 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.