Class CfnIPAMPoolPropsMixin.ProvisionedCidrProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnIPAMPoolPropsMixin.ProvisionedCidrProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.ProvisionedCidrProperty>
- Enclosing interface:
CfnIPAMPoolPropsMixin.ProvisionedCidrProperty
@Stability(Stable)
public static final class CfnIPAMPoolPropsMixin.ProvisionedCidrProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.ProvisionedCidrProperty>
A builder for
CfnIPAMPoolPropsMixin.ProvisionedCidrProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIPAMPoolPropsMixin.ProvisionedCidrProperty.getCidr()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
Sets the value ofCfnIPAMPoolPropsMixin.ProvisionedCidrProperty.getCidr()- Parameters:
cidr- The CIDR provisioned to the IPAM pool. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.ProvisionedCidrProperty>- Returns:
- a new instance of
CfnIPAMPoolPropsMixin.ProvisionedCidrProperty - Throws:
NullPointerException- if any required attribute was not provided
-