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