Class CfnIPAMPool.ProvisionedCidrProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMPool.ProvisionedCidrProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPool.ProvisionedCidrProperty>
- Enclosing interface:
- CfnIPAMPool.ProvisionedCidrProperty
@Stability(Stable)
public static final class CfnIPAMPool.ProvisionedCidrProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPool.ProvisionedCidrProperty>
A builder for
CfnIPAMPool.ProvisionedCidrProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIPAMPool.ProvisionedCidrProperty.getCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnIPAMPool.ProvisionedCidrProperty.getCidr()
- Parameters:
cidr
- The CIDR provisioned to the IPAM pool. This parameter is required. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is10.24.34.0/23
. An IPv6 CIDR example is2001:DB8::/32
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIPAMPool.ProvisionedCidrProperty>
- Returns:
- a new instance of
CfnIPAMPool.ProvisionedCidrProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-