Class CfnIPAMResourceDiscoveryAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociation>
- Enclosing class:
CfnIPAMResourceDiscoveryAssociation
@Stability(Stable)
public static final class CfnIPAMResourceDiscoveryAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociation>
A fluent builder for
CfnIPAMResourceDiscoveryAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The IPAM ID.ipamResourceDiscoveryId
(String ipamResourceDiscoveryId) The resource discovery ID.A tag is a label that you assign to an AWS resource.
-
Method Details
-
create
@Stability(Stable) public static CfnIPAMResourceDiscoveryAssociation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnIPAMResourceDiscoveryAssociation.Builder
.
-
ipamId
The IPAM ID.- Parameters:
ipamId
- The IPAM ID. This parameter is required.- Returns:
this
-
ipamResourceDiscoveryId
@Stability(Stable) public CfnIPAMResourceDiscoveryAssociation.Builder ipamResourceDiscoveryId(String ipamResourceDiscoveryId) The resource discovery ID.- Parameters:
ipamResourceDiscoveryId
- The resource discovery ID. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnIPAMResourceDiscoveryAssociation.Builder tags(List<? extends CfnTag> 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.
- Parameters:
tags
- A tag is a label that you assign to an AWS resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIPAMResourceDiscoveryAssociation>
- Returns:
- a newly built instance of
CfnIPAMResourceDiscoveryAssociation
.
-