public static interface ReplicaUpdate.Builder extends SdkPojo, CopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
Modifier and Type | Method and Description |
---|---|
default ReplicaUpdate.Builder |
create(Consumer<CreateReplicaAction.Builder> create)
The parameters required for creating a replica on an existing global table.
|
ReplicaUpdate.Builder |
create(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
|
default ReplicaUpdate.Builder |
delete(Consumer<DeleteReplicaAction.Builder> delete)
The name of the existing replica to be removed.
|
ReplicaUpdate.Builder |
delete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ReplicaUpdate.Builder create(CreateReplicaAction create)
The parameters required for creating a replica on an existing global table.
create
- The parameters required for creating a replica on an existing global table.default ReplicaUpdate.Builder create(Consumer<CreateReplicaAction.Builder> create)
The parameters required for creating a replica on an existing global table.
This is a convenience that creates an instance of theCreateReplicaAction.Builder
avoiding the need
to create one manually via CreateReplicaAction.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to create(CreateReplicaAction)
.create
- a consumer that will call methods on CreateReplicaAction.Builder
create(CreateReplicaAction)
ReplicaUpdate.Builder delete(DeleteReplicaAction delete)
The name of the existing replica to be removed.
delete
- The name of the existing replica to be removed.default ReplicaUpdate.Builder delete(Consumer<DeleteReplicaAction.Builder> delete)
The name of the existing replica to be removed.
This is a convenience that creates an instance of theDeleteReplicaAction.Builder
avoiding the need
to create one manually via DeleteReplicaAction.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to delete(DeleteReplicaAction)
.delete
- a consumer that will call methods on DeleteReplicaAction.Builder
delete(DeleteReplicaAction)
Copyright © 2021. All rights reserved.