Interface FirewallPolicyV2Response.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallPolicyV2Response.Builder,,FirewallPolicyV2Response> SdkBuilder<FirewallPolicyV2Response.Builder,,FirewallPolicyV2Response> SdkPojo
- Enclosing class:
FirewallPolicyV2Response
-
Method Summary
Modifier and TypeMethodDescriptionconsumedFirewallRuleCapacity(Integer consumedFirewallRuleCapacity) The number of firewall engine rule capacity units that the policy's firewall section currently consumes.consumedIpsDomainCapacity(Integer consumedIpsDomainCapacity) The number of IPS domain list capacity units that the policy's IPS section currently consumes.consumedIpsRuleCapacity(Integer consumedIpsRuleCapacity) The number of IPS engine rule capacity units that the policy's IPS section currently consumes.description(String description) A description of the Next Generation policy.default FirewallPolicyV2Response.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your Next Generation policy.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your Next Generation policy.errors(Collection<FirewallPolicyError> errors) Any configuration errors that apply to the Next Generation policy.errors(Consumer<FirewallPolicyError.Builder>... errors) Any configuration errors that apply to the Next Generation policy.errors(FirewallPolicyError... errors) Any configuration errors that apply to the Next Generation policy.firewallPolicyV2Arn(String firewallPolicyV2Arn) The Amazon Resource Name (ARN) of the Next Generation policy.firewallPolicyV2Id(String firewallPolicyV2Id) The unique identifier of the Next Generation policy.firewallPolicyV2Name(String firewallPolicyV2Name) The descriptive name of the Next Generation policy.firewallPolicyV2Status(String firewallPolicyV2Status) The current status of the Next Generation policy.firewallPolicyV2Status(ResourceStatus firewallPolicyV2Status) The current status of the Next Generation policy.lastModifiedTime(Instant lastModifiedTime) The last time that the Next Generation policy was changed.numberOfAssociations(Integer numberOfAssociations) The number of firewalls that are associated with the Next Generation policy.statusMessage(String statusMessage) Additional information about the current status of the Next Generation policy.tags(Collection<Tag> tags) The key-value tag pairs that are associated with the Next Generation policy.tags(Consumer<Tag.Builder>... tags) The key-value tag pairs that are associated with the Next Generation policy.The key-value tag pairs that are associated with the Next Generation policy.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
-
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
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
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
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
The current status of the Next Generation policy. A policy must be in the
ACTIVEstate before you can use it in a firewall.- Parameters:
firewallPolicyV2Status- The current status of the Next Generation policy. A policy must be in theACTIVEstate 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
The current status of the Next Generation policy. A policy must be in the
ACTIVEstate before you can use it in a firewall.- Parameters:
firewallPolicyV2Status- The current status of the Next Generation policy. A policy must be in theACTIVEstate 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
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 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:
-
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
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
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
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 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 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 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 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.
-