Class CfnIPAMResourceDiscovery.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscovery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMResourceDiscovery>
- Enclosing class:
CfnIPAMResourceDiscovery
@Stability(Stable)
public static final class CfnIPAMResourceDiscovery.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMResourceDiscovery>
A fluent builder for
CfnIPAMResourceDiscovery
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The resource discovery description.operatingRegions
(List<? extends Object> operatingRegions) The operating Regions for the resource discovery.operatingRegions
(IResolvable operatingRegions) The operating Regions for the resource discovery.A tag is a label that you assign to an AWS resource.
-
Method Details
-
create
@Stability(Stable) public static CfnIPAMResourceDiscovery.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
CfnIPAMResourceDiscovery.Builder
.
-
description
The resource discovery description.- Parameters:
description
- The resource discovery description. This parameter is required.- Returns:
this
-
operatingRegions
@Stability(Stable) public CfnIPAMResourceDiscovery.Builder operatingRegions(IResolvable operatingRegions) The operating Regions for the resource discovery.Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.
- Parameters:
operatingRegions
- The operating Regions for the resource discovery. This parameter is required.- Returns:
this
-
operatingRegions
@Stability(Stable) public CfnIPAMResourceDiscovery.Builder operatingRegions(List<? extends Object> operatingRegions) The operating Regions for the resource discovery.Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.
- Parameters:
operatingRegions
- The operating Regions for the resource discovery. This parameter is required.- Returns:
this
-
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<CfnIPAMResourceDiscovery>
- Returns:
- a newly built instance of
CfnIPAMResourceDiscovery
.
-