public static final class CfnCluster.KeyValueProperty.Builder
extends java.lang.Object
CfnCluster.KeyValueProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.KeyValueProperty |
build()
Builds the configured instance.
|
CfnCluster.KeyValueProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnCluster.KeyValueProperty.getKey() |
CfnCluster.KeyValueProperty.Builder |
value(java.lang.String value)
Sets the value of
CfnCluster.KeyValueProperty.getValue() |
public CfnCluster.KeyValueProperty.Builder key(java.lang.String key)
CfnCluster.KeyValueProperty.getKey()
key
- The unique identifier of a key-value pair.this
public CfnCluster.KeyValueProperty.Builder value(java.lang.String value)
CfnCluster.KeyValueProperty.getValue()
value
- The value part of the identified key.this
public CfnCluster.KeyValueProperty build()
CfnCluster.KeyValueProperty
java.lang.NullPointerException
- if any required attribute was not provided