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