Interface ReplicaUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaUpdate.Builder,
,ReplicaUpdate> SdkBuilder<ReplicaUpdate.Builder,
,ReplicaUpdate> SdkPojo
- Enclosing class:
ReplicaUpdate
public static interface ReplicaUpdate.Builder
extends SdkPojo, CopyableBuilder<ReplicaUpdate.Builder,ReplicaUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicaUpdate.Builder
create
(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.Builder
delete
(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
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
-
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.Builder
avoiding the need to create one manually viaCreateReplicaAction.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDeleteReplicaAction.builder()
.When the
Consumer
completes,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:
-