Interface GlobalTableWitnessGroupUpdate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GlobalTableWitnessGroupUpdate.Builder,GlobalTableWitnessGroupUpdate>,SdkBuilder<GlobalTableWitnessGroupUpdate.Builder,GlobalTableWitnessGroupUpdate>,SdkPojo
- Enclosing class:
- GlobalTableWitnessGroupUpdate
@Mutable @NotThreadSafe public static interface GlobalTableWitnessGroupUpdate.Builder extends SdkPojo, CopyableBuilder<GlobalTableWitnessGroupUpdate.Builder,GlobalTableWitnessGroupUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GlobalTableWitnessGroupUpdate.Buildercreate(Consumer<CreateGlobalTableWitnessGroupMemberAction.Builder> create)Specifies a witness Region to be added to a new MRSC global table.GlobalTableWitnessGroupUpdate.Buildercreate(CreateGlobalTableWitnessGroupMemberAction create)Specifies a witness Region to be added to a new MRSC global table.default GlobalTableWitnessGroupUpdate.Builderdelete(Consumer<DeleteGlobalTableWitnessGroupMemberAction.Builder> delete)Specifies a witness Region to be removed from an existing global table.GlobalTableWitnessGroupUpdate.Builderdelete(DeleteGlobalTableWitnessGroupMemberAction delete)Specifies a witness Region to be removed from an existing global table.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
create
GlobalTableWitnessGroupUpdate.Builder create(CreateGlobalTableWitnessGroupMemberAction 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:
create(CreateGlobalTableWitnessGroupMemberAction)
-
delete
GlobalTableWitnessGroupUpdate.Builder delete(DeleteGlobalTableWitnessGroupMemberAction 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:
delete(DeleteGlobalTableWitnessGroupMemberAction)
-
-