Class CfnIPAMResourceDiscoveryAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociationProps>
- Enclosing interface:
- CfnIPAMResourceDiscoveryAssociationProps
@Stability(Stable)
public static final class CfnIPAMResourceDiscoveryAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociationProps>
A builder for
CfnIPAMResourceDiscoveryAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getIpamId()ipamResourceDiscoveryId(String ipamResourceDiscoveryId) Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getIpamResourceDiscoveryId()Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipamId
Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getIpamId()- Parameters:
ipamId- The IPAM ID. This parameter is required.- Returns:
this
-
ipamResourceDiscoveryId
@Stability(Stable) public CfnIPAMResourceDiscoveryAssociationProps.Builder ipamResourceDiscoveryId(String ipamResourceDiscoveryId) Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getIpamResourceDiscoveryId()- Parameters:
ipamResourceDiscoveryId- The resource discovery ID. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnIPAMResourceDiscoveryAssociationProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnIPAMResourceDiscoveryAssociationProps.getTags()- Parameters:
tags- A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your AWS costs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociationProps>- Returns:
- a new instance of
CfnIPAMResourceDiscoveryAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-