Interface FirewallPolicyResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FirewallPolicyResponse.Builder,
,FirewallPolicyResponse> SdkBuilder<FirewallPolicyResponse.Builder,
,FirewallPolicyResponse> SdkPojo
- Enclosing class:
FirewallPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsumedStatefulRuleCapacity
(Integer consumedStatefulRuleCapacity) The number of capacity units currently consumed by the policy's stateful rules.consumedStatelessRuleCapacity
(Integer consumedStatelessRuleCapacity) The number of capacity units currently consumed by the policy's stateless rules.description
(String description) A description of the firewall policy.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.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.firewallPolicyArn
(String firewallPolicyArn) The Amazon Resource Name (ARN) of the firewall policy.firewallPolicyId
(String firewallPolicyId) The unique identifier for the firewall policy.firewallPolicyName
(String firewallPolicyName) The descriptive name of the firewall policy.firewallPolicyStatus
(String firewallPolicyStatus) The current status of the firewall policy.firewallPolicyStatus
(ResourceStatus firewallPolicyStatus) The current status of the firewall policy.lastModifiedTime
(Instant lastModifiedTime) The last time that the firewall policy was changed.numberOfAssociations
(Integer numberOfAssociations) The number of firewalls that are associated with this firewall policy.tags
(Collection<Tag> tags) The key:value pairs to associate with the resource.tags
(Consumer<Tag.Builder>... tags) The key:value pairs to associate with the resource.The key:value pairs to associate with the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
The Amazon Resource Name (ARN) of the firewall policy.
If this response is for a create request that had
DryRun
set toTRUE
, 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 toTRUE
, 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
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-