Interface CreateFirewallPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFirewallPolicyRequest.Builder,CreateFirewallPolicyRequest>,NetworkFirewallRequest.Builder,SdkBuilder<CreateFirewallPolicyRequest.Builder,CreateFirewallPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFirewallPolicyRequest
public static interface CreateFirewallPolicyRequest.Builder extends NetworkFirewallRequest.Builder, SdkPojo, CopyableBuilder<CreateFirewallPolicyRequest.Builder,CreateFirewallPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFirewallPolicyRequest.Builderdescription(String description)A description of the firewall policy.CreateFirewallPolicyRequest.BuilderdryRun(Boolean dryRun)Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.default CreateFirewallPolicyRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)A complex type that contains settings for encryption of your firewall policy resources.CreateFirewallPolicyRequest.BuilderencryptionConfiguration(EncryptionConfiguration encryptionConfiguration)A complex type that contains settings for encryption of your firewall policy resources.default CreateFirewallPolicyRequest.BuilderfirewallPolicy(Consumer<FirewallPolicy.Builder> firewallPolicy)The rule groups and policy actions to use in the firewall policy.CreateFirewallPolicyRequest.BuilderfirewallPolicy(FirewallPolicy firewallPolicy)The rule groups and policy actions to use in the firewall policy.CreateFirewallPolicyRequest.BuilderfirewallPolicyName(String firewallPolicyName)The descriptive name of the firewall policy.CreateFirewallPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFirewallPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFirewallPolicyRequest.Buildertags(Collection<Tag> tags)The key:value pairs to associate with the resource.CreateFirewallPolicyRequest.Buildertags(Consumer<Tag.Builder>... tags)The key:value pairs to associate with the resource.CreateFirewallPolicyRequest.Buildertags(Tag... tags)The key:value pairs to associate with the resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallRequest.Builder
build
-
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
CreateFirewallPolicyRequest.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.
-
firewallPolicy
CreateFirewallPolicyRequest.Builder firewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
- Parameters:
firewallPolicy- The rule groups and policy actions to use in the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallPolicy
default CreateFirewallPolicyRequest.Builder firewallPolicy(Consumer<FirewallPolicy.Builder> firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
This is a convenience method that creates an instance of theFirewallPolicy.Builderavoiding the need to create one manually viaFirewallPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirewallPolicy(FirewallPolicy).- Parameters:
firewallPolicy- a consumer that will call methods onFirewallPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
firewallPolicy(FirewallPolicy)
-
description
CreateFirewallPolicyRequest.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.
-
tags
CreateFirewallPolicyRequest.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
CreateFirewallPolicyRequest.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
CreateFirewallPolicyRequest.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)
-
dryRun
CreateFirewallPolicyRequest.Builder dryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.
If set to
TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set toFALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.If set to
FALSE, Network Firewall makes the requested changes to your resources.- Parameters:
dryRun- Indicates whether you want Network Firewall to just check the validity of the request, rather than run the request.If set to
TRUE, Network Firewall checks whether the request can run successfully, but doesn't actually make the requested changes. The call returns the value that the request would return if you ran it with dry run set toFALSE, but doesn't make additions or changes to your resources. This option allows you to make sure that you have the required permissions to run the request and that your request parameters are valid.If set to
FALSE, Network Firewall makes the requested changes to your resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateFirewallPolicyRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
- Parameters:
encryptionConfiguration- A complex type that contains settings for encryption of your firewall policy resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateFirewallPolicyRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
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)
-
overrideConfiguration
CreateFirewallPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFirewallPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-