Interface CreateGlobalSecondaryIndexAction.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
,SdkBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
,SdkPojo
- Enclosing class:
- CreateGlobalSecondaryIndexAction
public static interface CreateGlobalSecondaryIndexAction.Builder extends SdkPojo, CopyableBuilder<CreateGlobalSecondaryIndexAction.Builder,CreateGlobalSecondaryIndexAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods 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(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
indexName
CreateGlobalSecondaryIndexAction.Builder indexName(String indexName)
The name of the global secondary index to be created.
- Parameters:
indexName
- The name of the global secondary index to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
CreateGlobalSecondaryIndexAction.Builder keySchema(Collection<KeySchemaElement> keySchema)
The key schema for the global secondary index.
- Parameters:
keySchema
- The key schema for the global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
CreateGlobalSecondaryIndexAction.Builder keySchema(KeySchemaElement... keySchema)
The key schema for the global secondary index.
- Parameters:
keySchema
- The key schema for the global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
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 viaKeySchemaElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#keySchema(List
.) - Parameters:
keySchema
- a consumer that will call methods onKeySchemaElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#keySchema(java.util.Collection
)
-
projection
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projection
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 viaProjection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojection(Projection)
.- Parameters:
projection
- a consumer that will call methods onProjection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
projection(Projection)
-
provisionedThroughput
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
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 viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(ProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
provisionedThroughput(ProvisionedThroughput)
-
-