Class CfnVPCCidrBlockMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPCCidrBlockMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCCidrBlockMixinProps>
- Enclosing interface:
CfnVPCCidrBlockMixinProps
@Stability(Stable)
public static final class CfnVPCCidrBlockMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCCidrBlockMixinProps>
A builder for
CfnVPCCidrBlockMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionamazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock) Sets the value ofCfnVPCCidrBlockMixinProps.getAmazonProvidedIpv6CidrBlock()amazonProvidedIpv6CidrBlock(IResolvable amazonProvidedIpv6CidrBlock) Sets the value ofCfnVPCCidrBlockMixinProps.getAmazonProvidedIpv6CidrBlock()build()Builds the configured instance.Sets the value ofCfnVPCCidrBlockMixinProps.getCidrBlock()ipv4IpamPoolId(String ipv4IpamPoolId) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv4IpamPoolId()ipv4NetmaskLength(Number ipv4NetmaskLength) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv4NetmaskLength()ipv6CidrBlock(String ipv6CidrBlock) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6CidrBlock()ipv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6CidrBlockNetworkBorderGroup()ipv6IpamPoolId(String ipv6IpamPoolId) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6IpamPoolId()ipv6NetmaskLength(Number ipv6NetmaskLength) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6NetmaskLength()Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6Pool()Sets the value ofCfnVPCCidrBlockMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
amazonProvidedIpv6CidrBlock
@Stability(Stable) public CfnVPCCidrBlockMixinProps.Builder amazonProvidedIpv6CidrBlock(Boolean amazonProvidedIpv6CidrBlock) Sets the value ofCfnVPCCidrBlockMixinProps.getAmazonProvidedIpv6CidrBlock()- Parameters:
amazonProvidedIpv6CidrBlock- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses or the size of the CIDR block.- Returns:
this
-
amazonProvidedIpv6CidrBlock
@Stability(Stable) public CfnVPCCidrBlockMixinProps.Builder amazonProvidedIpv6CidrBlock(IResolvable amazonProvidedIpv6CidrBlock) Sets the value ofCfnVPCCidrBlockMixinProps.getAmazonProvidedIpv6CidrBlock()- Parameters:
amazonProvidedIpv6CidrBlock- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses or the size of the CIDR block.- Returns:
this
-
cidrBlock
Sets the value ofCfnVPCCidrBlockMixinProps.getCidrBlock()- Parameters:
cidrBlock- An IPv4 CIDR block to associate with the VPC.- Returns:
this
-
ipv4IpamPoolId
Sets the value ofCfnVPCCidrBlockMixinProps.getIpv4IpamPoolId()- Parameters:
ipv4IpamPoolId- Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .- Returns:
this
-
ipv4NetmaskLength
@Stability(Stable) public CfnVPCCidrBlockMixinProps.Builder ipv4NetmaskLength(Number ipv4NetmaskLength) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv4NetmaskLength()- Parameters:
ipv4NetmaskLength- The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .- Returns:
this
-
ipv6CidrBlock
Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6CidrBlock()- Parameters:
ipv6CidrBlock- An IPv6 CIDR block from the IPv6 address pool. You must also specifyIpv6Poolin the request. To let Amazon choose the IPv6 CIDR block for you, omit this parameter.- Returns:
this
-
ipv6CidrBlockNetworkBorderGroup
@Stability(Stable) public CfnVPCCidrBlockMixinProps.Builder ipv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6CidrBlockNetworkBorderGroup()- Parameters:
ipv6CidrBlockNetworkBorderGroup- The name of the location from which we advertise the IPV6 CIDR block. Use this parameter to limit the CIDR block to this location.You must set
AmazonProvidedIpv6CidrBlocktotrueto use this parameter.You can have one IPv6 CIDR block association per network border group.
- Returns:
this
-
ipv6IpamPoolId
Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6IpamPoolId()- Parameters:
ipv6IpamPoolId- Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .- Returns:
this
-
ipv6NetmaskLength
@Stability(Stable) public CfnVPCCidrBlockMixinProps.Builder ipv6NetmaskLength(Number ipv6NetmaskLength) Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6NetmaskLength()- Parameters:
ipv6NetmaskLength- The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .- Returns:
this
-
ipv6Pool
Sets the value ofCfnVPCCidrBlockMixinProps.getIpv6Pool()- Parameters:
ipv6Pool- The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.- Returns:
this
-
vpcId
Sets the value ofCfnVPCCidrBlockMixinProps.getVpcId()- Parameters:
vpcId- The ID of the VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCCidrBlockMixinProps>- Returns:
- a new instance of
CfnVPCCidrBlockMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-