Class CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkfirewall.CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty>
- Enclosing interface:
CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty
@Stability(Stable)
public static final class CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipAddressType(String ipAddressType) Sets the value ofCfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipAddressType
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.Builder ipAddressType(String ipAddressType) - Parameters:
ipAddressType- The subnet's IP address type. You can't change the IP address type after you create the subnet.- Returns:
this
-
subnetId
@Stability(Stable) public CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.Builder subnetId(String subnetId) Sets the value ofCfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty.getSubnetId()- Parameters:
subnetId- The unique identifier for the subnet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty>- Returns:
- a new instance of
CfnVpcEndpointAssociationPropsMixin.SubnetMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-