public static interface CreateFirewallPolicyRequest.Builder extends NetworkFirewallRequest.Builder, SdkPojo, CopyableBuilder<CreateFirewallPolicyRequest.Builder,CreateFirewallPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateFirewallPolicyRequest.Builder |
description(String description)
A description of the firewall policy.
|
CreateFirewallPolicyRequest.Builder |
dryRun(Boolean dryRun)
Indicates whether you want Network Firewall to just check the validity of the request, rather than run the
request.
|
default CreateFirewallPolicyRequest.Builder |
encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
|
CreateFirewallPolicyRequest.Builder |
encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
|
default CreateFirewallPolicyRequest.Builder |
firewallPolicy(Consumer<FirewallPolicy.Builder> firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
|
CreateFirewallPolicyRequest.Builder |
firewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
|
CreateFirewallPolicyRequest.Builder |
firewallPolicyName(String firewallPolicyName)
The descriptive name of the firewall policy.
|
CreateFirewallPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateFirewallPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateFirewallPolicyRequest.Builder |
tags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
CreateFirewallPolicyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The key:value pairs to associate with the resource.
|
CreateFirewallPolicyRequest.Builder |
tags(Tag... tags)
The key:value pairs to associate with the resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateFirewallPolicyRequest.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.
firewallPolicyName - The descriptive name of the firewall policy. You can't change the name of a firewall policy after you
create it.CreateFirewallPolicyRequest.Builder firewallPolicy(FirewallPolicy firewallPolicy)
The rule groups and policy actions to use in the firewall policy.
firewallPolicy - The rule groups and policy actions to use in the firewall policy.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.Builder avoiding the need
to create one manually via FirewallPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to firewallPolicy(FirewallPolicy).
firewallPolicy - a consumer that will call methods on FirewallPolicy.BuilderfirewallPolicy(FirewallPolicy)CreateFirewallPolicyRequest.Builder description(String description)
A description of the firewall policy.
description - A description of the firewall policy.CreateFirewallPolicyRequest.Builder tags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
tags - The key:value pairs to associate with the resource.CreateFirewallPolicyRequest.Builder tags(Tag... tags)
The key:value pairs to associate with the resource.
tags - The key:value pairs to associate with the resource.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.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) 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 to FALSE, 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.
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 to FALSE, 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.
CreateFirewallPolicyRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall policy resources.
encryptionConfiguration - A complex type that contains settings for encryption of your firewall policy resources.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.Builder avoiding
the need to create one manually via EncryptionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration).
encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.BuilderencryptionConfiguration(EncryptionConfiguration)CreateFirewallPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateFirewallPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.