Class CfnIPAMScopeProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnIPAMScopeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMScopeProps>
- Enclosing interface:
CfnIPAMScopeProps
@Stability(Stable)
public static final class CfnIPAMScopeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMScopeProps>
A builder for
CfnIPAMScopeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnIPAMScopeProps.getDescription()
Sets the value ofCfnIPAMScopeProps.getIpamId()
Sets the value ofCfnIPAMScopeProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipamId
Sets the value ofCfnIPAMScopeProps.getIpamId()
- Parameters:
ipamId
- The ID of the IPAM for which you're creating this scope. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnIPAMScopeProps.getDescription()
- Parameters:
description
- The description of the scope.- Returns:
this
-
tags
Sets the value ofCfnIPAMScopeProps.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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIPAMScopeProps>
- Returns:
- a new instance of
CfnIPAMScopeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-