Class AutonomousCompositeShardSpaceRaftCluster.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.AutonomousCompositeShardSpaceRaftCluster.Builder
-
- Enclosing class:
- AutonomousCompositeShardSpaceRaftCluster
public static class AutonomousCompositeShardSpaceRaftCluster.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutonomousCompositeShardSpaceRaftClusterbuild()AutonomousCompositeShardSpaceRaftCluster.Buildercopy(AutonomousCompositeShardSpaceRaftCluster model)AutonomousCompositeShardSpaceRaftCluster.Builderdatabases(List<DistributedAutonomousDatabaseShardDatabase> databases)The details of databases associated with the composite shard space raft cluster.AutonomousCompositeShardSpaceRaftCluster.Buildername(String name)The name of raft cluster.AutonomousCompositeShardSpaceRaftCluster.BuilderreplicationFactor(Integer replicationFactor)Replication factor associated with the raft cluster.AutonomousCompositeShardSpaceRaftCluster.BuilderruMode(AutonomousCompositeShardSpaceRaftCluster.RuMode ruMode)Replication factor associated with the raft cluster.AutonomousCompositeShardSpaceRaftCluster.BuilderwitnessCount(Integer witnessCount)Witnesses RU count associated with the raft cluster.
-
-
-
Method Detail
-
name
public AutonomousCompositeShardSpaceRaftCluster.Builder name(String name)
The name of raft cluster.It must start with a letter and contain only letters, digits, and underscores. Maximum length is 40 characters.
- Parameters:
name- the value to set- Returns:
- this builder
-
replicationFactor
public AutonomousCompositeShardSpaceRaftCluster.Builder replicationFactor(Integer replicationFactor)
Replication factor associated with the raft cluster.- Parameters:
replicationFactor- the value to set- Returns:
- this builder
-
witnessCount
public AutonomousCompositeShardSpaceRaftCluster.Builder witnessCount(Integer witnessCount)
Witnesses RU count associated with the raft cluster.- Parameters:
witnessCount- the value to set- Returns:
- this builder
-
ruMode
public AutonomousCompositeShardSpaceRaftCluster.Builder ruMode(AutonomousCompositeShardSpaceRaftCluster.RuMode ruMode)
Replication factor associated with the raft cluster.- Parameters:
ruMode- the value to set- Returns:
- this builder
-
databases
public AutonomousCompositeShardSpaceRaftCluster.Builder databases(List<DistributedAutonomousDatabaseShardDatabase> databases)
The details of databases associated with the composite shard space raft cluster.- Parameters:
databases- the value to set- Returns:
- this builder
-
build
public AutonomousCompositeShardSpaceRaftCluster build()
-
copy
public AutonomousCompositeShardSpaceRaftCluster.Builder copy(AutonomousCompositeShardSpaceRaftCluster model)
-
-