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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReplicaUpdate.Buildercreate(Consumer<CreateReplicaAction.Builder> create)The parameters required for creating a replica on an existing global table.ReplicaUpdate.Buildercreate(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.ReplicaUpdate.Builderdelete(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
create
ReplicaUpdate.Builder create(CreateReplicaAction 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
default ReplicaUpdate.Builder create(Consumer<CreateReplicaAction.Builder> 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:
create(CreateReplicaAction)
-
delete
ReplicaUpdate.Builder delete(DeleteReplicaAction 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
default ReplicaUpdate.Builder delete(Consumer<DeleteReplicaAction.Builder> 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:
delete(DeleteReplicaAction)
-
-