Class AwsIpamProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.AwsIpamProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AwsIpamProps>
- Enclosing interface:
AwsIpamProps
@Stability(Stable)
public static final class AwsIpamProps.Builder
extends Object
implements software.amazon.jsii.Builder<AwsIpamProps>
A builder for
AwsIpamProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultSubnetIpv4NetmaskLength(Number defaultSubnetIpv4NetmaskLength) Sets the value ofAwsIpamProps.getDefaultSubnetIpv4NetmaskLength()ipv4IpamPoolId(String ipv4IpamPoolId) Sets the value ofAwsIpamProps.getIpv4IpamPoolId()ipv4NetmaskLength(Number ipv4NetmaskLength) Sets the value ofAwsIpamProps.getIpv4NetmaskLength()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv4IpamPoolId
Sets the value ofAwsIpamProps.getIpv4IpamPoolId()- Parameters:
ipv4IpamPoolId- Ipam Pool Id for ipv4 allocation. This parameter is required.- Returns:
this
-
ipv4NetmaskLength
Sets the value ofAwsIpamProps.getIpv4NetmaskLength()- Parameters:
ipv4NetmaskLength- Netmask length for Vpc. This parameter is required.- Returns:
this
-
defaultSubnetIpv4NetmaskLength
@Stability(Stable) public AwsIpamProps.Builder defaultSubnetIpv4NetmaskLength(Number defaultSubnetIpv4NetmaskLength) Sets the value ofAwsIpamProps.getDefaultSubnetIpv4NetmaskLength()- Parameters:
defaultSubnetIpv4NetmaskLength- Default length for Subnet ipv4 Network mask. Specify this option only if you do not specify all Subnets using SubnetConfiguration with a cidrMask- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AwsIpamProps>- Returns:
- a new instance of
AwsIpamProps - Throws:
NullPointerException- if any required attribute was not provided
-