Interface AwsNetworkFirewallFirewallDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsNetworkFirewallFirewallDetails.Builder,AwsNetworkFirewallFirewallDetails>,SdkBuilder<AwsNetworkFirewallFirewallDetails.Builder,AwsNetworkFirewallFirewallDetails>,SdkPojo
- Enclosing class:
- AwsNetworkFirewallFirewallDetails
public static interface AwsNetworkFirewallFirewallDetails.Builder extends SdkPojo, CopyableBuilder<AwsNetworkFirewallFirewallDetails.Builder,AwsNetworkFirewallFirewallDetails>
-
-
Method Summary
-
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
-
deleteProtection
AwsNetworkFirewallFirewallDetails.Builder deleteProtection(Boolean 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
AwsNetworkFirewallFirewallDetails.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.
-
firewallArn
AwsNetworkFirewallFirewallDetails.Builder firewallArn(String 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
AwsNetworkFirewallFirewallDetails.Builder firewallId(String 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
AwsNetworkFirewallFirewallDetails.Builder firewallName(String 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
AwsNetworkFirewallFirewallDetails.Builder firewallPolicyArn(String 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
AwsNetworkFirewallFirewallDetails.Builder subnetChangeProtection(Boolean 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.Builderavoiding the need to create one manually viaAwsNetworkFirewallFirewallSubnetMappingsDetails.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 onAwsNetworkFirewallFirewallSubnetMappingsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subnetMappings(java.util.Collection)
-
vpcId
AwsNetworkFirewallFirewallDetails.Builder vpcId(String 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.
-
-