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