Class TagUpdateConstraintOptions.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.TagUpdateConstraintOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TagUpdateConstraintOptions>
- Enclosing interface:
TagUpdateConstraintOptions
@Stability(Stable)
public static final class TagUpdateConstraintOptions.Builder
extends Object
implements software.amazon.jsii.Builder<TagUpdateConstraintOptions>
A builder for
TagUpdateConstraintOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofTagUpdateConstraintOptions.getAllow()build()Builds the configured instance.description(String description) Sets the value ofCommonConstraintOptions.getDescription()messageLanguage(MessageLanguage messageLanguage) Sets the value ofCommonConstraintOptions.getMessageLanguage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allow
Sets the value ofTagUpdateConstraintOptions.getAllow()- Parameters:
allow- Toggle for if users should be allowed to change/update tags on provisioned products.- Returns:
this
-
description
Sets the value ofCommonConstraintOptions.getDescription()- Parameters:
description- The description of the constraint.- Returns:
this
-
messageLanguage
@Stability(Stable) public TagUpdateConstraintOptions.Builder messageLanguage(MessageLanguage messageLanguage) Sets the value ofCommonConstraintOptions.getMessageLanguage()- Parameters:
messageLanguage- The language code. Configures the language for error messages from service catalog.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TagUpdateConstraintOptions>- Returns:
- a new instance of
TagUpdateConstraintOptions - Throws:
NullPointerException- if any required attribute was not provided
-