@Stability(value=Experimental) public static final class GlobalSecondaryIndexProps.Builder extends Object implements software.amazon.jsii.Builder<GlobalSecondaryIndexProps>
GlobalSecondaryIndexProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public GlobalSecondaryIndexProps.Builder partitionKey(Attribute partitionKey)
GlobalSecondaryIndexProps.getPartitionKey()partitionKey - The attribute of a partition key for the global secondary index. This parameter is required.this@Stability(value=Experimental) 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=Experimental) public GlobalSecondaryIndexProps.Builder sortKey(Attribute sortKey)
GlobalSecondaryIndexProps.getSortKey()sortKey - The attribute of a sort key for the global secondary index.this@Stability(value=Experimental) 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=Experimental) public GlobalSecondaryIndexProps.Builder indexName(String indexName)
SecondaryIndexProps.getIndexName()indexName - The name of the secondary index. This parameter is required.this@Stability(value=Experimental) public GlobalSecondaryIndexProps.Builder nonKeyAttributes(List<String> nonKeyAttributes)
SecondaryIndexProps.getNonKeyAttributes()nonKeyAttributes - The non-key attributes that are projected into the secondary index.this@Stability(value=Experimental) public GlobalSecondaryIndexProps.Builder projectionType(ProjectionType projectionType)
SecondaryIndexProps.getProjectionType()projectionType - The set of attributes that are projected into the secondary index.this@Stability(value=Experimental) public GlobalSecondaryIndexProps build()
build in interface software.amazon.jsii.Builder<GlobalSecondaryIndexProps>GlobalSecondaryIndexPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.