Interface CreateFirewallRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFirewallRequest.Builder,CreateFirewallRequest>,NetworkFirewallRequest.Builder,SdkBuilder<CreateFirewallRequest.Builder,CreateFirewallRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFirewallRequest
public static interface CreateFirewallRequest.Builder extends NetworkFirewallRequest.Builder, SdkPojo, CopyableBuilder<CreateFirewallRequest.Builder,CreateFirewallRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateFirewallRequest.BuilderdeleteProtection(Boolean deleteProtection)A flag indicating whether it is possible to delete the firewall.CreateFirewallRequest.Builderdescription(String description)A description of the firewall.default CreateFirewallRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)A complex type that contains settings for encryption of your firewall resources.CreateFirewallRequest.BuilderencryptionConfiguration(EncryptionConfiguration encryptionConfiguration)A complex type that contains settings for encryption of your firewall resources.CreateFirewallRequest.BuilderfirewallName(String firewallName)The descriptive name of the firewall.CreateFirewallRequest.BuilderfirewallPolicyArn(String firewallPolicyArn)The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.CreateFirewallRequest.BuilderfirewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)A setting indicating whether the firewall is protected against a change to the firewall policy association.CreateFirewallRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFirewallRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFirewallRequest.BuildersubnetChangeProtection(Boolean subnetChangeProtection)A setting indicating whether the firewall is protected against changes to the subnet associations.CreateFirewallRequest.BuildersubnetMappings(Collection<SubnetMapping> subnetMappings)The public subnets to use for your Network Firewall firewalls.CreateFirewallRequest.BuildersubnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)The public subnets to use for your Network Firewall firewalls.CreateFirewallRequest.BuildersubnetMappings(SubnetMapping... subnetMappings)The public subnets to use for your Network Firewall firewalls.CreateFirewallRequest.Buildertags(Collection<Tag> tags)The key:value pairs to associate with the resource.CreateFirewallRequest.Buildertags(Consumer<Tag.Builder>... tags)The key:value pairs to associate with the resource.CreateFirewallRequest.Buildertags(Tag... tags)The key:value pairs to associate with the resource.CreateFirewallRequest.BuildervpcId(String vpcId)The unique identifier of the VPC where Network Firewall should create the firewall.-
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, sdkFields
-
-
-
-
Method Detail
-
firewallName
CreateFirewallRequest.Builder firewallName(String firewallName)
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
- Parameters:
firewallName- The descriptive name of the firewall. You can't change the name of a firewall after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallPolicyArn
CreateFirewallRequest.Builder firewallPolicyArn(String firewallPolicyArn)
The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.
- Parameters:
firewallPolicyArn- The Amazon Resource Name (ARN) of the FirewallPolicy that you want to use for the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
CreateFirewallRequest.Builder vpcId(String vpcId)
The unique identifier of the VPC where Network Firewall should create the firewall.
You can't change this setting after you create the firewall.
- Parameters:
vpcId- The unique identifier of the VPC where Network Firewall should create the firewall.You can't change this setting after you create the firewall.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
CreateFirewallRequest.Builder subnetMappings(Collection<SubnetMapping> subnetMappings)
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
- Parameters:
subnetMappings- The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
CreateFirewallRequest.Builder subnetMappings(SubnetMapping... subnetMappings)
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
- Parameters:
subnetMappings- The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
CreateFirewallRequest.Builder subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)
The public subnets to use for your Network Firewall firewalls. Each subnet must belong to a different Availability Zone in the VPC. Network Firewall creates a firewall endpoint in each subnet.
This is a convenience method that creates an instance of theSubnetMapping.Builderavoiding the need to create one manually viaSubnetMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subnetMappings(List.) - Parameters:
subnetMappings- a consumer that will call methods onSubnetMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subnetMappings(java.util.Collection)
-
deleteProtection
CreateFirewallRequest.Builder deleteProtection(Boolean deleteProtection)
A flag indicating whether it is possible to delete the firewall. A setting of
TRUEindicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag toTRUE.- Parameters:
deleteProtection- A flag indicating whether it is possible to delete the firewall. A setting ofTRUEindicates that the firewall is protected against deletion. Use this setting to protect against accidentally deleting a firewall that is in use. When you create a firewall, the operation initializes this flag toTRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetChangeProtection
CreateFirewallRequest.Builder subnetChangeProtection(Boolean subnetChangeProtection)
A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE.- Parameters:
subnetChangeProtection- A setting indicating whether the firewall is protected against changes to the subnet associations. Use this setting to protect against accidentally modifying the subnet associations for a firewall that is in use. When you create a firewall, the operation initializes this setting toTRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallPolicyChangeProtection
CreateFirewallRequest.Builder firewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting to
TRUE.- Parameters:
firewallPolicyChangeProtection- A setting indicating whether the firewall is protected against a change to the firewall policy association. Use this setting to protect against accidentally modifying the firewall policy for a firewall that is in use. When you create a firewall, the operation initializes this setting toTRUE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateFirewallRequest.Builder description(String description)
A description of the firewall.
- Parameters:
description- A description of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFirewallRequest.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
CreateFirewallRequest.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
CreateFirewallRequest.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)
-
encryptionConfiguration
CreateFirewallRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
A complex type that contains settings for encryption of your firewall resources.
- Parameters:
encryptionConfiguration- A complex type that contains settings for encryption of your firewall resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateFirewallRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
A complex type that contains settings for encryption of your firewall 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
CreateFirewallRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFirewallRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-