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