Class IPAMReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.IPAMReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IPAMReference>
- Enclosing interface:
IPAMReference
@Stability(Stable)
public static final class IPAMReference.Builder
extends Object
implements software.amazon.jsii.Builder<IPAMReference>
A builder for
IPAMReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofIPAMReference.getIpamArn()Sets the value ofIPAMReference.getIpamId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipamArn
Sets the value ofIPAMReference.getIpamArn()- Parameters:
ipamArn- The ARN of the IPAM resource. This parameter is required.- Returns:
this
-
ipamId
Sets the value ofIPAMReference.getIpamId()- Parameters:
ipamId- The IpamId of the IPAM resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IPAMReference>- Returns:
- a new instance of
IPAMReference - Throws:
NullPointerException- if any required attribute was not provided
-