@Stability(value=Stable) public static final class GlobalSecondaryIndexProps.Builder extends Object implements software.amazon.jsii.Builder<GlobalSecondaryIndexProps>
GlobalSecondaryIndexProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder readCapacity(Number readCapacity)
GlobalSecondaryIndexProps.getReadCapacity()readCapacity - The read capacity for the global secondary index.
Can only be provided if table billingMode is Provisioned or undefined.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder writeCapacity(Number writeCapacity)
GlobalSecondaryIndexProps.getWriteCapacity()writeCapacity - The write capacity for the global secondary index.
Can only be provided if table billingMode is Provisioned or undefined.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder indexName(String indexName)
SecondaryIndexProps.getIndexName()indexName - The name of the secondary index. This parameter is required.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder nonKeyAttributes(List<String> nonKeyAttributes)
SecondaryIndexProps.getNonKeyAttributes()nonKeyAttributes - The non-key attributes that are projected into the secondary index.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder projectionType(ProjectionType projectionType)
SecondaryIndexProps.getProjectionType()projectionType - The set of attributes that are projected into the secondary index.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder partitionKey(Attribute partitionKey)
SchemaOptions.getPartitionKey()partitionKey - Partition key attribute definition. This parameter is required.this@Stability(value=Stable) public GlobalSecondaryIndexProps.Builder sortKey(Attribute sortKey)
SchemaOptions.getSortKey()sortKey - Sort key attribute definition.this@Stability(value=Stable) public GlobalSecondaryIndexProps build()
build in interface software.amazon.jsii.Builder<GlobalSecondaryIndexProps>GlobalSecondaryIndexPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.