Class CfnIpamExternalResourceVerificationTokenProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIpamExternalResourceVerificationTokenProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIpamExternalResourceVerificationTokenProps>
- Enclosing interface:
CfnIpamExternalResourceVerificationTokenProps
@Stability(Stable)
public static final class CfnIpamExternalResourceVerificationTokenProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIpamExternalResourceVerificationTokenProps>
A builder for
CfnIpamExternalResourceVerificationTokenProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIpamExternalResourceVerificationTokenProps.getIpamId()Sets the value ofCfnIpamExternalResourceVerificationTokenProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipamId
@Stability(Stable) public CfnIpamExternalResourceVerificationTokenProps.Builder ipamId(String ipamId) Sets the value ofCfnIpamExternalResourceVerificationTokenProps.getIpamId()- Parameters:
ipamId- The ID of the IPAM that will create the token. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnIpamExternalResourceVerificationTokenProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnIpamExternalResourceVerificationTokenProps.getTags()- Parameters:
tags- The tags for the token.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIpamExternalResourceVerificationTokenProps>- Returns:
- a new instance of
CfnIpamExternalResourceVerificationTokenProps - Throws:
NullPointerException- if any required attribute was not provided
-