Class CfnStreamPropsMixin.KeySchemaItemsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnStreamPropsMixin.KeySchemaItemsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamPropsMixin.KeySchemaItemsProperty>
- Enclosing interface:
CfnStreamPropsMixin.KeySchemaItemsProperty
@Stability(Stable)
public static final class CfnStreamPropsMixin.KeySchemaItemsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamPropsMixin.KeySchemaItemsProperty>
A builder for
CfnStreamPropsMixin.KeySchemaItemsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeName(String attributeName) Sets the value ofCfnStreamPropsMixin.KeySchemaItemsProperty.getAttributeName()build()Builds the configured instance.Sets the value ofCfnStreamPropsMixin.KeySchemaItemsProperty.getKeyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeName
@Stability(Stable) public CfnStreamPropsMixin.KeySchemaItemsProperty.Builder attributeName(String attributeName) Sets the value ofCfnStreamPropsMixin.KeySchemaItemsProperty.getAttributeName()- Parameters:
attributeName- the value to be set.- Returns:
this
-
keyType
@Stability(Stable) public CfnStreamPropsMixin.KeySchemaItemsProperty.Builder keyType(String keyType) Sets the value ofCfnStreamPropsMixin.KeySchemaItemsProperty.getKeyType()- Parameters:
keyType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamPropsMixin.KeySchemaItemsProperty>- Returns:
- a new instance of
CfnStreamPropsMixin.KeySchemaItemsProperty - Throws:
NullPointerException- if any required attribute was not provided
-