Class IPAMPoolCidrReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.IPAMPoolCidrReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IPAMPoolCidrReference>
- Enclosing interface:
IPAMPoolCidrReference
@Stability(Stable)
public static final class IPAMPoolCidrReference.Builder
extends Object
implements software.amazon.jsii.Builder<IPAMPoolCidrReference>
A builder for
IPAMPoolCidrReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipamPoolCidrId(String ipamPoolCidrId) Sets the value ofIPAMPoolCidrReference.getIpamPoolCidrId()ipamPoolId(String ipamPoolId) Sets the value ofIPAMPoolCidrReference.getIpamPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipamPoolCidrId
Sets the value ofIPAMPoolCidrReference.getIpamPoolCidrId()- Parameters:
ipamPoolCidrId- The IpamPoolCidrId of the IPAMPoolCidr resource. This parameter is required.- Returns:
this
-
ipamPoolId
Sets the value ofIPAMPoolCidrReference.getIpamPoolId()- Parameters:
ipamPoolId- The IpamPoolId of the IPAMPoolCidr resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IPAMPoolCidrReference>- Returns:
- a new instance of
IPAMPoolCidrReference - Throws:
NullPointerException- if any required attribute was not provided
-