Class MoveDistributedDatabaseReplicationUnitDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabase.model.MoveDistributedDatabaseReplicationUnitDetails.Builder
-
- Enclosing class:
- MoveDistributedDatabaseReplicationUnitDetails
public static class MoveDistributedDatabaseReplicationUnitDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MoveDistributedDatabaseReplicationUnitDetailsbuild()MoveDistributedDatabaseReplicationUnitDetails.Buildercopy(MoveDistributedDatabaseReplicationUnitDetails model)MoveDistributedDatabaseReplicationUnitDetails.BuilderdestinationShardName(String destinationShardName)The name of the destination shard to which the chunks moved out from source shard should be relocate to.MoveDistributedDatabaseReplicationUnitDetails.BuilderreplicationUnits(List<Integer> replicationUnits)For RAFT databases please provide replication unit numbers to be moved from source shard to destination shard.MoveDistributedDatabaseReplicationUnitDetails.BuildersourceShardName(String sourceShardName)The name of the source shard from which to move the chunks out to other shards.
-
-
-
Method Detail
-
sourceShardName
public MoveDistributedDatabaseReplicationUnitDetails.Builder sourceShardName(String sourceShardName)
The name of the source shard from which to move the chunks out to other shards.- Parameters:
sourceShardName- the value to set- Returns:
- this builder
-
destinationShardName
public MoveDistributedDatabaseReplicationUnitDetails.Builder destinationShardName(String destinationShardName)
The name of the destination shard to which the chunks moved out from source shard should be relocate to.- Parameters:
destinationShardName- the value to set- Returns:
- this builder
-
replicationUnits
public MoveDistributedDatabaseReplicationUnitDetails.Builder replicationUnits(List<Integer> replicationUnits)
For RAFT databases please provide replication unit numbers to be moved from source shard to destination shard.- Parameters:
replicationUnits- the value to set- Returns:
- this builder
-
build
public MoveDistributedDatabaseReplicationUnitDetails build()
-
copy
public MoveDistributedDatabaseReplicationUnitDetails.Builder copy(MoveDistributedDatabaseReplicationUnitDetails model)
-
-