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