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