Class CfnIPAMResourceDiscoveryProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMResourceDiscoveryProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryProps>
- Enclosing interface:
CfnIPAMResourceDiscoveryProps
@Stability(Stable)
public static final class CfnIPAMResourceDiscoveryProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMResourceDiscoveryProps>
A builder for
CfnIPAMResourceDiscoveryProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnIPAMResourceDiscoveryProps.getDescription()
operatingRegions
(List<? extends Object> operatingRegions) Sets the value ofCfnIPAMResourceDiscoveryProps.getOperatingRegions()
operatingRegions
(IResolvable operatingRegions) Sets the value ofCfnIPAMResourceDiscoveryProps.getOperatingRegions()
Sets the value ofCfnIPAMResourceDiscoveryProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnIPAMResourceDiscoveryProps.getDescription()
- Parameters:
description
- The resource discovery description.- Returns:
this
-
operatingRegions
@Stability(Stable) public CfnIPAMResourceDiscoveryProps.Builder operatingRegions(IResolvable operatingRegions) Sets the value ofCfnIPAMResourceDiscoveryProps.getOperatingRegions()
- Parameters:
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.- Returns:
this
-
operatingRegions
@Stability(Stable) public CfnIPAMResourceDiscoveryProps.Builder operatingRegions(List<? extends Object> operatingRegions) Sets the value ofCfnIPAMResourceDiscoveryProps.getOperatingRegions()
- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnIPAMResourceDiscoveryProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnIPAMResourceDiscoveryProps>
- Returns:
- a new instance of
CfnIPAMResourceDiscoveryProps
- Throws:
NullPointerException
- if any required attribute was not provided
-