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