Class TagOptions.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.TagOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TagOptions>
- Enclosing class:
TagOptions
@Stability(Stable)
public static final class TagOptions.Builder
extends Object
implements software.amazon.jsii.Builder<TagOptions>
A fluent builder for
TagOptions
.-
Method Summary
Modifier and TypeMethodDescriptionallowedValuesForTags
(Map<String, ? extends List<String>> allowedValuesForTags) The values that are allowed to be set for specific tags.build()
static TagOptions.Builder
-
Method Details
-
create
@Stability(Stable) public static TagOptions.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
TagOptions.Builder
.
-
allowedValuesForTags
@Stability(Stable) public TagOptions.Builder allowedValuesForTags(Map<String, ? extends List<String>> allowedValuesForTags) The values that are allowed to be set for specific tags.The keys of the map represent the tag keys, and the values of the map are a list of allowed values for that particular tag key.
- Parameters:
allowedValuesForTags
- The values that are allowed to be set for specific tags. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TagOptions>
- Returns:
- a newly built instance of
TagOptions
.
-