Interface VpcEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcEndpoint.Builder,,VpcEndpoint> SdkBuilder<VpcEndpoint.Builder,,VpcEndpoint> SdkPojo
- Enclosing class:
VpcEndpoint
@Mutable
@NotThreadSafe
public static interface VpcEndpoint.Builder
extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptionsubnetMappings(Collection<SubnetMapping> subnetMappings) The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall.subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings) The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall.subnetMappings(SubnetMapping... subnetMappings) The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall.The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vpcId
The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint.
- Parameters:
vpcId- The unique identifier of the VPC where Network Firewall creates the proxy mode firewall endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.
- Parameters:
subnetMappings- The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.
- Parameters:
subnetMappings- The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMappings
The subnets in which Network Firewall creates the firewall endpoint for a proxy mode firewall. Each subnet must belong to a different Availability Zone in the VPC.
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 tosubnetMappings(List<SubnetMapping>).- 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:
-