Class CfnSubnetCidrBlockMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSubnetCidrBlockMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetCidrBlockMixinProps>
- Enclosing interface:
CfnSubnetCidrBlockMixinProps
@Stability(Stable)
public static final class CfnSubnetCidrBlockMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetCidrBlockMixinProps>
A builder for
CfnSubnetCidrBlockMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv6CidrBlock(String ipv6CidrBlock) Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6CidrBlock()ipv6IpamPoolId(String ipv6IpamPoolId) Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6IpamPoolId()ipv6NetmaskLength(Number ipv6NetmaskLength) Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6NetmaskLength()Sets the value ofCfnSubnetCidrBlockMixinProps.getSubnetId()subnetId(ISubnetRef subnetId) Sets the value ofCfnSubnetCidrBlockMixinProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6CidrBlock
Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6CidrBlock()- Parameters:
ipv6CidrBlock- The IPv6 network range for the subnet, in CIDR notation.- Returns:
this
-
ipv6IpamPoolId
@Stability(Stable) public CfnSubnetCidrBlockMixinProps.Builder ipv6IpamPoolId(String ipv6IpamPoolId) Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6IpamPoolId()- Parameters:
ipv6IpamPoolId- An IPv6 IPAM pool ID for the subnet.- Returns:
this
-
ipv6NetmaskLength
@Stability(Stable) public CfnSubnetCidrBlockMixinProps.Builder ipv6NetmaskLength(Number ipv6NetmaskLength) Sets the value ofCfnSubnetCidrBlockMixinProps.getIpv6NetmaskLength()- Parameters:
ipv6NetmaskLength- An IPv6 netmask length for the subnet.- Returns:
this
-
subnetId
Sets the value ofCfnSubnetCidrBlockMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet.- Returns:
this
-
subnetId
Sets the value ofCfnSubnetCidrBlockMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetCidrBlockMixinProps>- Returns:
- a new instance of
CfnSubnetCidrBlockMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-