@Stability(value=Stable) public static final class CfnTable.GlobalSecondaryIndexProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTable.GlobalSecondaryIndexProperty>
CfnTable.GlobalSecondaryIndexProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder indexName(String indexName)
CfnTable.GlobalSecondaryIndexProperty.getIndexName()indexName - The name of the global secondary index. This parameter is required.
The name must be unique among all other indexes on this table.this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder keySchema(IResolvable keySchema)
CfnTable.GlobalSecondaryIndexProperty.getKeySchema()keySchema - The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: - `HASH` - partition key - `RANGE` - sort key > The partition key of an item is also known as its *hash attribute* . This parameter is required.
The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder keySchema(List<? extends Object> keySchema)
CfnTable.GlobalSecondaryIndexProperty.getKeySchema()keySchema - The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types: - `HASH` - partition key - `RANGE` - sort key > The partition key of an item is also known as its *hash attribute* . This parameter is required.
The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across partitions, based on their partition key values.
The sort key of an item is also known as its range attribute . The term "range attribute" derives from the way DynamoDB stores items with the same partition key physically close together, in sorted order by the sort key value.
this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder projection(CfnTable.ProjectionProperty projection)
CfnTable.GlobalSecondaryIndexProperty.getProjection()projection - Represents attributes that are copied (projected) from the table into the global secondary index. This parameter is required.
These are in addition to the primary key attributes and index key attributes, which are automatically projected.this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder projection(IResolvable projection)
CfnTable.GlobalSecondaryIndexProperty.getProjection()projection - Represents attributes that are copied (projected) from the table into the global secondary index. This parameter is required.
These are in addition to the primary key attributes and index key attributes, which are automatically projected.this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder contributorInsightsSpecification(CfnTable.ContributorInsightsSpecificationProperty contributorInsightsSpecification)
contributorInsightsSpecification - The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder contributorInsightsSpecification(IResolvable contributorInsightsSpecification)
contributorInsightsSpecification - The settings used to enable or disable CloudWatch Contributor Insights for the specified global secondary index.this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder provisionedThroughput(CfnTable.ProvisionedThroughputProperty provisionedThroughput)
CfnTable.GlobalSecondaryIndexProperty.getProvisionedThroughput()provisionedThroughput - Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide .this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty.Builder provisionedThroughput(IResolvable provisionedThroughput)
CfnTable.GlobalSecondaryIndexProperty.getProvisionedThroughput()provisionedThroughput - Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide .this@Stability(value=Stable) public CfnTable.GlobalSecondaryIndexProperty build()
build in interface software.amazon.jsii.Builder<CfnTable.GlobalSecondaryIndexProperty>CfnTable.GlobalSecondaryIndexPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.