Class CustomModelTag.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.CustomModelTag.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomModelTag>
- Enclosing interface:
CustomModelTag
@Stability(Stable)
public static final class CustomModelTag.Builder
extends Object
implements software.amazon.jsii.Builder<CustomModelTag>
A builder for
CustomModelTag-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCustomModelTag.getKey()Sets the value ofCustomModelTag.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCustomModelTag.getKey()- Parameters:
key- Key for the tag. This parameter is required.- Returns:
this
-
value
Sets the value ofCustomModelTag.getValue()- Parameters:
value- Value for the tag. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CustomModelTag>- Returns:
- a new instance of
CustomModelTag - Throws:
NullPointerException- if any required attribute was not provided
-