public static interface CreateGlobalSecondaryIndexAction.Builder extends SdkPojo, CopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
Modifier and Type | Method and 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(Consumer<KeySchemaElement.Builder>... keySchema)
The key schema for the global secondary index.
|
CreateGlobalSecondaryIndexAction.Builder |
keySchema(KeySchemaElement... keySchema)
The key schema for the global secondary index.
|
default CreateGlobalSecondaryIndexAction.Builder |
projection(Consumer<Projection.Builder> projection)
Represents attributes that are copied (projected) from the table into an index.
|
CreateGlobalSecondaryIndexAction.Builder |
projection(Projection projection)
Represents attributes that are copied (projected) from the table into an index.
|
default CreateGlobalSecondaryIndexAction.Builder |
provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
|
CreateGlobalSecondaryIndexAction.Builder |
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
Represents the provisioned throughput settings for the specified global secondary index.
|
equalsBySdkFields, sdkFields
copy
applyMutation, 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.
keySchema
- The key schema for the global secondary index.CreateGlobalSecondaryIndexAction.Builder keySchema(Consumer<KeySchemaElement.Builder>... keySchema)
The key schema for the global secondary index.
This is a convenience method that creates an instance of theKeySchemaElement.Builder
avoiding the need to create
one manually via KeySchemaElement.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #keySchema(List
.
keySchema
- a consumer that will call methods on
KeySchemaElement.Builder
#keySchema(java.util.Collection)
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.default CreateGlobalSecondaryIndexAction.Builder projection(Consumer<Projection.Builder> 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.
This is a convenience method that creates an instance of theProjection.Builder
avoiding the need to
create one manually via Projection.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to projection(Projection)
.
projection
- a consumer that will call methods on Projection.Builder
projection(Projection)
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 Service, Account, and Table Quotas 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 Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
default CreateGlobalSecondaryIndexAction.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> 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 is a convenience method that creates an instance of theProvisionedThroughput.Builder
avoiding
the need to create one manually via ProvisionedThroughput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to provisionedThroughput(ProvisionedThroughput)
.
provisionedThroughput
- a consumer that will call methods on ProvisionedThroughput.Builder
provisionedThroughput(ProvisionedThroughput)
Copyright © 2023. All rights reserved.