Class AutonomousCompositeRaftShardSpace.Builder
- java.lang.Object
-
- com.oracle.bmc.distributeddatabasev26.model.AutonomousCompositeRaftShardSpace.Builder
-
- Enclosing class:
- AutonomousCompositeRaftShardSpace
public static class AutonomousCompositeRaftShardSpace.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutonomousCompositeRaftShardSpacebuild()AutonomousCompositeRaftShardSpace.BuilderchunkCount(Integer chunkCount)Count of chunks associated with the shard space.AutonomousCompositeRaftShardSpace.Buildercopy(AutonomousCompositeRaftShardSpace model)AutonomousCompositeRaftShardSpace.Buildername(String name)The name of shard space.AutonomousCompositeRaftShardSpace.BuilderraftClusters(List<AutonomousCompositeShardSpaceRaftCluster> raftClusters)The details of raft clusters associated with the shard space.AutonomousCompositeRaftShardSpace.BuilderreplicationUnitCount(Integer replicationUnitCount)Number of replication units in the shard space.
-
-
-
Method Detail
-
name
public AutonomousCompositeRaftShardSpace.Builder name(String name)
The name of shard space.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
-
chunkCount
public AutonomousCompositeRaftShardSpace.Builder chunkCount(Integer chunkCount)
Count of chunks associated with the shard space.- Parameters:
chunkCount- the value to set- Returns:
- this builder
-
replicationUnitCount
public AutonomousCompositeRaftShardSpace.Builder replicationUnitCount(Integer replicationUnitCount)
Number of replication units in the shard space.- Parameters:
replicationUnitCount- the value to set- Returns:
- this builder
-
raftClusters
public AutonomousCompositeRaftShardSpace.Builder raftClusters(List<AutonomousCompositeShardSpaceRaftCluster> raftClusters)
The details of raft clusters associated with the shard space.- Parameters:
raftClusters- the value to set- Returns:
- this builder
-
build
public AutonomousCompositeRaftShardSpace build()
-
copy
public AutonomousCompositeRaftShardSpace.Builder copy(AutonomousCompositeRaftShardSpace model)
-
-