Interface GlobalSecondaryIndexUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GlobalSecondaryIndexUpdate.Builder,
,GlobalSecondaryIndexUpdate> SdkBuilder<GlobalSecondaryIndexUpdate.Builder,
,GlobalSecondaryIndexUpdate> SdkPojo
- Enclosing class:
GlobalSecondaryIndexUpdate
-
Method Summary
Modifier and TypeMethodDescriptionThe parameters required for creating a global secondary index on an existing table:The parameters required for creating a global secondary index on an existing table:The name of an existing global secondary index to be removed.The name of an existing global secondary index to be removed.The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that 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 Details
-
update
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
- Parameters:
update
- The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
default GlobalSecondaryIndexUpdate.Builder update(Consumer<UpdateGlobalSecondaryIndexAction.Builder> update) The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.
This is a convenience method that creates an instance of theUpdateGlobalSecondaryIndexAction.Builder
avoiding the need to create one manually viaUpdateGlobalSecondaryIndexAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdate(UpdateGlobalSecondaryIndexAction)
.- Parameters:
update
- a consumer that will call methods onUpdateGlobalSecondaryIndexAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
create
The parameters required for creating a global secondary index on an existing table:
-
IndexName
-
KeySchema
-
AttributeDefinitions
-
Projection
-
ProvisionedThroughput
- Parameters:
create
- The parameters required for creating a global secondary index on an existing table:-
IndexName
-
KeySchema
-
AttributeDefinitions
-
Projection
-
ProvisionedThroughput
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
create
default GlobalSecondaryIndexUpdate.Builder create(Consumer<CreateGlobalSecondaryIndexAction.Builder> create) The parameters required for creating a global secondary index on an existing table:
-
IndexName
-
KeySchema
-
AttributeDefinitions
-
Projection
-
ProvisionedThroughput
CreateGlobalSecondaryIndexAction.Builder
avoiding the need to create one manually viaCreateGlobalSecondaryIndexAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreate(CreateGlobalSecondaryIndexAction)
.- Parameters:
create
- a consumer that will call methods onCreateGlobalSecondaryIndexAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
delete
The name of an existing global secondary index to be removed.
- Parameters:
delete
- The name of an existing global secondary index to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
default GlobalSecondaryIndexUpdate.Builder delete(Consumer<DeleteGlobalSecondaryIndexAction.Builder> delete) The name of an existing global secondary index to be removed.
This is a convenience method that creates an instance of theDeleteGlobalSecondaryIndexAction.Builder
avoiding the need to create one manually viaDeleteGlobalSecondaryIndexAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todelete(DeleteGlobalSecondaryIndexAction)
.- Parameters:
delete
- a consumer that will call methods onDeleteGlobalSecondaryIndexAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-