Class TagOptionsProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.TagOptionsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TagOptionsProps>
- Enclosing interface:
TagOptionsProps
@Stability(Stable)
public static final class TagOptionsProps.Builder
extends Object
implements software.amazon.jsii.Builder<TagOptionsProps>
A builder for
TagOptionsProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedValuesForTags
(Map<String, ? extends List<String>> allowedValuesForTags) Sets the value ofTagOptionsProps.getAllowedValuesForTags()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedValuesForTags
@Stability(Stable) public TagOptionsProps.Builder allowedValuesForTags(Map<String, ? extends List<String>> allowedValuesForTags) Sets the value ofTagOptionsProps.getAllowedValuesForTags()
- Parameters:
allowedValuesForTags
- The values that are allowed to be set for specific tags. This parameter is required. 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TagOptionsProps>
- Returns:
- a new instance of
TagOptionsProps
- Throws:
NullPointerException
- if any required attribute was not provided
-