CopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
, SdkBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
public static interface CreateGlobalSecondaryIndexAction.Builder extends CopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
Modifier and Type | Method | Description |
---|---|---|
CreateGlobalSecondaryIndexAction.Builder |
indexName(String indexName) |
The name of the global secondary index to be created.
|
CreateGlobalSecondaryIndexAction.Builder |
keySchema(Collection<KeySchemaElement> keySchema) |
The key schema for the global secondary index.
|
CreateGlobalSecondaryIndexAction.Builder |
keySchema(KeySchemaElement... keySchema) |
The key schema for the global secondary index.
|
CreateGlobalSecondaryIndexAction.Builder |
projection(Projection projection) |
Represents attributes that are copied (projected) from the table into an index.
|
CreateGlobalSecondaryIndexAction.Builder |
provisionedThroughput(ProvisionedThroughput provisionedThroughput) |
Represents the provisioned throughput settings for the specified global secondary index.
|
copy
apply, build
CreateGlobalSecondaryIndexAction.Builder indexName(String indexName)
The name of the global secondary index to be created.
indexName
- The name of the global secondary index to be created.CreateGlobalSecondaryIndexAction.Builder keySchema(Collection<KeySchemaElement> keySchema)
The key schema for the global secondary index.
keySchema
- The key schema for the global secondary index.CreateGlobalSecondaryIndexAction.Builder keySchema(KeySchemaElement... keySchema)
The key schema for the global secondary index.
NOTE: This method appends the values to the existing list (if any). Use
#setKeySchema(java.util.Collection)
or #withKeySchema(java.util.Collection)
if you want to
override the existing values.
keySchema
- The key schema for the global secondary index.CreateGlobalSecondaryIndexAction.Builder projection(Projection projection)
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
projection
- Represents attributes that are copied (projected) from the table into an index. These are in addition
to the primary key attributes and index key attributes, which are automatically projected.CreateGlobalSecondaryIndexAction.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.