Class CfnIPAMProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMProps>
- Enclosing interface:
CfnIPAMProps
@Stability(Stable)
public static final class CfnIPAMProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMProps>
A builder for
CfnIPAMProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnIPAMProps.getDescription()
operatingRegions
(List<? extends Object> operatingRegions) Sets the value ofCfnIPAMProps.getOperatingRegions()
operatingRegions
(IResolvable operatingRegions) Sets the value ofCfnIPAMProps.getOperatingRegions()
Sets the value ofCfnIPAMProps.getTags()
Sets the value ofCfnIPAMProps.getTier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnIPAMProps.getDescription()
- Parameters:
description
- The description for the IPAM.- Returns:
this
-
operatingRegions
Sets the value ofCfnIPAMProps.getOperatingRegions()
- Parameters:
operatingRegions
- The operating Regions for an IPAM. 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.For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .
- Returns:
this
-
operatingRegions
@Stability(Stable) public CfnIPAMProps.Builder operatingRegions(List<? extends Object> operatingRegions) Sets the value ofCfnIPAMProps.getOperatingRegions()
- Parameters:
operatingRegions
- The operating Regions for an IPAM. 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.For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .
- Returns:
this
-
tags
Sets the value ofCfnIPAMProps.getTags()
- Parameters:
tags
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.- Returns:
this
-
tier
Sets the value ofCfnIPAMProps.getTier()
- Parameters:
tier
- IPAM is offered in a Free Tier and an Advanced Tier. For more information about the features available in each tier and the costs associated with the tiers, see the VPC IPAM product pricing page .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIPAMProps>
- Returns:
- a new instance of
CfnIPAMProps
- Throws:
NullPointerException
- if any required attribute was not provided
-