Interface GlobalTableWitnessGroupUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTableWitnessGroupUpdate.Builder,,GlobalTableWitnessGroupUpdate> SdkBuilder<GlobalTableWitnessGroupUpdate.Builder,,GlobalTableWitnessGroupUpdate> SdkPojo
- Enclosing class:
GlobalTableWitnessGroupUpdate
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies a witness Region to be added to a new MRSC global table.Specifies a witness Region to be added to a new MRSC global table.Specifies a witness Region to be removed from an existing global table.Specifies a witness Region to be removed from an existing global table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
create
Specifies a witness Region to be added to a new MRSC global table. The witness must be added when creating the MRSC global table.
- Parameters:
create- Specifies a witness Region to be added to a new MRSC global table. The witness must be added when creating the MRSC global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
create
default GlobalTableWitnessGroupUpdate.Builder create(Consumer<CreateGlobalTableWitnessGroupMemberAction.Builder> create) Specifies a witness Region to be added to a new MRSC global table. The witness must be added when creating the MRSC global table.
This is a convenience method that creates an instance of theCreateGlobalTableWitnessGroupMemberAction.Builderavoiding the need to create one manually viaCreateGlobalTableWitnessGroupMemberAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreate(CreateGlobalTableWitnessGroupMemberAction).- Parameters:
create- a consumer that will call methods onCreateGlobalTableWitnessGroupMemberAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
Specifies a witness Region to be removed from an existing global table. Must be done in conjunction with removing a replica. The deletion of both a witness and replica converts the remaining replica to a single-Region DynamoDB table.
- Parameters:
delete- Specifies a witness Region to be removed from an existing global table. Must be done in conjunction with removing a replica. The deletion of both a witness and replica converts the remaining replica to a single-Region DynamoDB table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
default GlobalTableWitnessGroupUpdate.Builder delete(Consumer<DeleteGlobalTableWitnessGroupMemberAction.Builder> delete) Specifies a witness Region to be removed from an existing global table. Must be done in conjunction with removing a replica. The deletion of both a witness and replica converts the remaining replica to a single-Region DynamoDB table.
This is a convenience method that creates an instance of theDeleteGlobalTableWitnessGroupMemberAction.Builderavoiding the need to create one manually viaDeleteGlobalTableWitnessGroupMemberAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(DeleteGlobalTableWitnessGroupMemberAction).- Parameters:
delete- a consumer that will call methods onDeleteGlobalTableWitnessGroupMemberAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-