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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FirewallPolicyResponse.BuilderconsumedStatefulRuleCapacity(Integer consumedStatefulRuleCapacity)The number of capacity units currently consumed by the policy's stateful rules.FirewallPolicyResponse.BuilderconsumedStatelessRuleCapacity(Integer consumedStatelessRuleCapacity)The number of capacity units currently consumed by the policy's stateless rules.FirewallPolicyResponse.Builderdescription(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.FirewallPolicyResponse.BuilderencryptionConfiguration(EncryptionConfiguration encryptionConfiguration)A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.FirewallPolicyResponse.BuilderfirewallPolicyArn(String firewallPolicyArn)The Amazon Resource Name (ARN) of the firewall policy.FirewallPolicyResponse.BuilderfirewallPolicyId(String firewallPolicyId)The unique identifier for the firewall policy.FirewallPolicyResponse.BuilderfirewallPolicyName(String firewallPolicyName)The descriptive name of the firewall policy.FirewallPolicyResponse.BuilderfirewallPolicyStatus(String firewallPolicyStatus)The current status of the firewall policy.FirewallPolicyResponse.BuilderfirewallPolicyStatus(ResourceStatus firewallPolicyStatus)The current status of the firewall policy.FirewallPolicyResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The last time that the firewall policy was changed.FirewallPolicyResponse.BuildernumberOfAssociations(Integer numberOfAssociations)The number of firewalls that are associated with this firewall policy.FirewallPolicyResponse.Buildertags(Collection<Tag> tags)The key:value pairs to associate with the resource.FirewallPolicyResponse.Buildertags(Consumer<Tag.Builder>... tags)The key:value pairs to associate with the resource.FirewallPolicyResponse.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
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
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:
ResourceStatus,ResourceStatus
-
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:
ResourceStatus,ResourceStatus
-
tags
FirewallPolicyResponse.Builder tags(Collection<Tag> 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
FirewallPolicyResponse.Builder tags(Tag... 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
FirewallPolicyResponse.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
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 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:
encryptionConfiguration(EncryptionConfiguration)
-
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.
-
-