@Stability(value=Experimental) public static final class LocalSecondaryIndexProps.Builder extends Object implements software.amazon.jsii.Builder<LocalSecondaryIndexProps>
LocalSecondaryIndexProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LocalSecondaryIndexProps |
build()
Builds the configured instance.
|
LocalSecondaryIndexProps.Builder |
indexName(String indexName)
Sets the value of
SecondaryIndexProps.getIndexName() |
LocalSecondaryIndexProps.Builder |
nonKeyAttributes(List<String> nonKeyAttributes)
Sets the value of
SecondaryIndexProps.getNonKeyAttributes() |
LocalSecondaryIndexProps.Builder |
projectionType(ProjectionType projectionType)
Sets the value of
SecondaryIndexProps.getProjectionType() |
LocalSecondaryIndexProps.Builder |
sortKey(Attribute sortKey)
Sets the value of
LocalSecondaryIndexProps.getSortKey() |
@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder sortKey(Attribute sortKey)
LocalSecondaryIndexProps.getSortKey()sortKey - The attribute of a sort key for the local secondary index. This parameter is required.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder indexName(String indexName)
SecondaryIndexProps.getIndexName()indexName - The name of the secondary index. This parameter is required.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder nonKeyAttributes(List<String> nonKeyAttributes)
SecondaryIndexProps.getNonKeyAttributes()nonKeyAttributes - The non-key attributes that are projected into the secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder projectionType(ProjectionType projectionType)
SecondaryIndexProps.getProjectionType()projectionType - The set of attributes that are projected into the secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps build()
build in interface software.amazon.jsii.Builder<LocalSecondaryIndexProps>LocalSecondaryIndexPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.