Interface FirewallPolicyResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallPolicyResponse.Builder,,FirewallPolicyResponse> SdkBuilder<FirewallPolicyResponse.Builder,,FirewallPolicyResponse> SdkPojo
- Enclosing class:
FirewallPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsumedStatefulDomainCapacity(Integer consumedStatefulDomainCapacity) The total number of domain name specifications across all domain list rule groups in the firewall policy that use thestateful-domain-rulegroupresource type.consumedStatefulRuleCapacity(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.BuilderencryptionConfiguration(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.errors(Collection<FirewallPolicyError> errors) Any configuration errors that apply to the firewall policy.errors(Consumer<FirewallPolicyError.Builder>... errors) Any configuration errors that apply to the firewall policy.errors(FirewallPolicyError... errors) Any configuration errors that apply to the 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.statusMessage(String statusMessage) Additional detail about the firewall policy's current status, when applicable.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
DryRunset 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
DryRunset 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:
-
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
UPDATINGand 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 isUPDATINGand 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.
-
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-rulegroupresource type.- Parameters:
consumedStatefulDomainCapacity- The total number of domain name specifications across all domain list rule groups in the firewall policy that use thestateful-domain-rulegroupresource type.- 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.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,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:
-
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 theFirewallPolicyError.Builderavoiding the need to create one manually viaFirewallPolicyError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<FirewallPolicyError>).- Parameters:
errors- a consumer that will call methods onFirewallPolicyError.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.
-