Interface AwsNetworkFirewallFirewallDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsNetworkFirewallFirewallDetails.Builder,
,AwsNetworkFirewallFirewallDetails> SdkBuilder<AwsNetworkFirewallFirewallDetails.Builder,
,AwsNetworkFirewallFirewallDetails> SdkPojo
- Enclosing class:
AwsNetworkFirewallFirewallDetails
-
Method Summary
Modifier and TypeMethodDescriptiondeleteProtection
(Boolean deleteProtection) Whether the firewall is protected from deletion.description
(String description) A description of the firewall.firewallArn
(String firewallArn) The ARN of the firewall.firewallId
(String firewallId) The identifier of the firewall.firewallName
(String firewallName) A descriptive name of the firewall.firewallPolicyArn
(String firewallPolicyArn) The ARN of the firewall policy.firewallPolicyChangeProtection
(Boolean firewallPolicyChangeProtection) Whether the firewall is protected from a change to the firewall policy.subnetChangeProtection
(Boolean subnetChangeProtection) Whether the firewall is protected from a change to the subnet associations.subnetMappings
(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings) The public subnets that Network Firewall uses for the firewall.subnetMappings
(Consumer<AwsNetworkFirewallFirewallSubnetMappingsDetails.Builder>... subnetMappings) The public subnets that Network Firewall uses for the firewall.subnetMappings
(AwsNetworkFirewallFirewallSubnetMappingsDetails... subnetMappings) The public subnets that Network Firewall uses for the firewall.The identifier of the VPC where the firewall is used.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, sdkFields
-
Method Details
-
deleteProtection
Whether the firewall is protected from deletion. If set to
true
, then the firewall cannot be deleted.- Parameters:
deleteProtection
- Whether the firewall is protected from deletion. If set totrue
, then the firewall cannot be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
firewallArn
The ARN of the firewall.
- Parameters:
firewallArn
- The ARN of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallId
The identifier of the firewall.
- Parameters:
firewallId
- The identifier of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallName
A descriptive name of the firewall.
- Parameters:
firewallName
- A descriptive name of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallPolicyArn
The ARN of the firewall policy.
- Parameters:
firewallPolicyArn
- The ARN of the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallPolicyChangeProtection
AwsNetworkFirewallFirewallDetails.Builder firewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection) Whether the firewall is protected from a change to the firewall policy. If set to
true
, you cannot associate a different policy with the firewall.- Parameters:
firewallPolicyChangeProtection
- Whether the firewall is protected from a change to the firewall policy. If set totrue
, you cannot associate a different policy with the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetChangeProtection
Whether the firewall is protected from a change to the subnet associations. If set to
true
, you cannot map different subnets to the firewall.- Parameters:
subnetChangeProtection
- Whether the firewall is protected from a change to the subnet associations. If set totrue
, you cannot map different subnets to the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
AwsNetworkFirewallFirewallDetails.Builder subnetMappings(Collection<AwsNetworkFirewallFirewallSubnetMappingsDetails> subnetMappings) The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
- Parameters:
subnetMappings
- The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
AwsNetworkFirewallFirewallDetails.Builder subnetMappings(AwsNetworkFirewallFirewallSubnetMappingsDetails... subnetMappings) The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
- Parameters:
subnetMappings
- The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
AwsNetworkFirewallFirewallDetails.Builder subnetMappings(Consumer<AwsNetworkFirewallFirewallSubnetMappingsDetails.Builder>... subnetMappings) The public subnets that Network Firewall uses for the firewall. Each subnet must belong to a different Availability Zone.
This is a convenience method that creates an instance of theAwsNetworkFirewallFirewallSubnetMappingsDetails.Builder
avoiding the need to create one manually viaAwsNetworkFirewallFirewallSubnetMappingsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetMappings(List<AwsNetworkFirewallFirewallSubnetMappingsDetails>)
.- Parameters:
subnetMappings
- a consumer that will call methods onAwsNetworkFirewallFirewallSubnetMappingsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The identifier of the VPC where the firewall is used.
- Parameters:
vpcId
- The identifier of the VPC where the firewall is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-