Class CfnSimpleTable.PrimaryKeyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnSimpleTable.PrimaryKeyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimpleTable.PrimaryKeyProperty>
- Enclosing interface:
- CfnSimpleTable.PrimaryKeyProperty
@Stability(Stable)
public static final class CfnSimpleTable.PrimaryKeyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSimpleTable.PrimaryKeyProperty>
A builder for
CfnSimpleTable.PrimaryKeyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSimpleTable.PrimaryKeyProperty.getName()Sets the value ofCfnSimpleTable.PrimaryKeyProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnSimpleTable.PrimaryKeyProperty.getType()- Parameters:
type-CfnSimpleTable.PrimaryKeyProperty.Type. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnSimpleTable.PrimaryKeyProperty.getName()- Parameters:
name-CfnSimpleTable.PrimaryKeyProperty.Name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSimpleTable.PrimaryKeyProperty>- Returns:
- a new instance of
CfnSimpleTable.PrimaryKeyProperty - Throws:
NullPointerException- if any required attribute was not provided
-