@Stability(value=Experimental) public static final class LocalSecondaryIndexProps.Builder extends Object
LocalSecondaryIndexProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LocalSecondaryIndexProps |
build()
Builds the configured instance.
|
LocalSecondaryIndexProps.Builder |
withIndexName(String value)
Sets the value of IndexName
|
LocalSecondaryIndexProps.Builder |
withNonKeyAttributes(List<String> value)
Sets the value of NonKeyAttributes
|
LocalSecondaryIndexProps.Builder |
withProjectionType(ProjectionType value)
Sets the value of ProjectionType
|
LocalSecondaryIndexProps.Builder |
withSortKey(Attribute value)
Sets the value of SortKey
|
@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder withSortKey(Attribute value)
value - The attribute of a sort key for the local secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder withIndexName(String value)
value - The name of the secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder withNonKeyAttributes(@Nullable List<String> value)
value - The non-key attributes that are projected into the secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps.Builder withProjectionType(@Nullable ProjectionType value)
value - The set of attributes that are projected into the secondary index.this@Stability(value=Experimental) public LocalSecondaryIndexProps build()
LocalSecondaryIndexPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.