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