Interface ReplicaUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicaUpdate.Builder,,ReplicaUpdate> SdkBuilder<ReplicaUpdate.Builder,,ReplicaUpdate> SdkPojo
- Enclosing class:
ReplicaUpdate
@Mutable
@NotThreadSafe
public static interface ReplicaUpdate.Builder
extends SdkPojo, CopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicaUpdate.Buildercreate(Consumer<CreateReplicaAction.Builder> create) The parameters required for creating a replica on an existing global table.create(CreateReplicaAction create) The parameters required for creating a replica on an existing global table.default ReplicaUpdate.Builderdelete(Consumer<DeleteReplicaAction.Builder> delete) The name of the existing replica to be removed.delete(DeleteReplicaAction delete) The name of the existing replica to be removed.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
The parameters required for creating a replica on an existing global table.
- Parameters:
create- The parameters required for creating a replica on an existing global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
create
The parameters required for creating a replica on an existing global table.
This is a convenience method that creates an instance of theCreateReplicaAction.Builderavoiding the need to create one manually viaCreateReplicaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreate(CreateReplicaAction).- Parameters:
create- a consumer that will call methods onCreateReplicaAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delete
The name of the existing replica to be removed.
- Parameters:
delete- The name of the existing replica to be removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delete
The name of the existing replica to be removed.
This is a convenience method that creates an instance of theDeleteReplicaAction.Builderavoiding the need to create one manually viaDeleteReplicaAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todelete(DeleteReplicaAction).- Parameters:
delete- a consumer that will call methods onDeleteReplicaAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-