public static class DedicatedShardedDatabaseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DedicatedShardedDatabaseSummary.Builder id(String id)
public DedicatedShardedDatabaseSummary.Builder compartmentId(String compartmentId)
public DedicatedShardedDatabaseSummary.Builder displayName(String displayName)
public DedicatedShardedDatabaseSummary.Builder timeCreated(Date timeCreated)
public DedicatedShardedDatabaseSummary.Builder timeUpdated(Date timeUpdated)
public DedicatedShardedDatabaseSummary.Builder lifecycleState(ShardedDatabase.LifecycleState lifecycleState)
public DedicatedShardedDatabaseSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
public DedicatedShardedDatabaseSummary.Builder freeformTags(Map<String,String> freeformTags)
public DedicatedShardedDatabaseSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public DedicatedShardedDatabaseSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public DedicatedShardedDatabaseSummary.Builder replicationMethod(DedicatedShardedDatabase.ReplicationMethod replicationMethod)
The Replication method for sharded database.
replicationMethod
- the value to setpublic DedicatedShardedDatabaseSummary.Builder replicationFactor(Integer replicationFactor)
The Replication factor for RAFT replication based sharded database. Currently supported values are 3, 5 and 7.
replicationFactor
- the value to setpublic DedicatedShardedDatabaseSummary.Builder replicationUnit(Integer replicationUnit)
For RAFT replication based sharded database, the value should be atleast twice the number of shards.
replicationUnit
- the value to setpublic DedicatedShardedDatabaseSummary.Builder clusterCertificateCommonName(String clusterCertificateCommonName)
The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.
clusterCertificateCommonName
- the value to setpublic DedicatedShardedDatabaseSummary.Builder dbWorkload(DedicatedShardedDatabaseSummary.DbWorkload dbWorkload)
Possible workload types.
dbWorkload
- the value to setpublic DedicatedShardedDatabaseSummary.Builder shardingMethod(DedicatedShardedDatabaseSummary.ShardingMethod shardingMethod)
Sharding Method.
shardingMethod
- the value to setpublic DedicatedShardedDatabaseSummary.Builder characterSet(String characterSet)
The character set for the sharded database.
characterSet
- the value to setpublic DedicatedShardedDatabaseSummary.Builder ncharacterSet(String ncharacterSet)
The national character set for the sharded database.
ncharacterSet
- the value to setpublic DedicatedShardedDatabaseSummary.Builder chunks(Integer chunks)
The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.
chunks
- the value to setpublic DedicatedShardedDatabaseSummary.Builder dbVersion(String dbVersion)
Oracle Database version of the Autonomous Container Database.
dbVersion
- the value to setpublic DedicatedShardedDatabaseSummary.Builder listenerPort(Integer listenerPort)
The listener port number for the sharded database.
listenerPort
- the value to setpublic DedicatedShardedDatabaseSummary.Builder listenerPortTls(Integer listenerPortTls)
The TLS listener port number for sharded database.
listenerPortTls
- the value to setpublic DedicatedShardedDatabaseSummary.Builder onsPortLocal(Integer onsPortLocal)
Ons local port number.
onsPortLocal
- the value to setpublic DedicatedShardedDatabaseSummary.Builder onsPortRemote(Integer onsPortRemote)
Ons remote port number.
onsPortRemote
- the value to setpublic DedicatedShardedDatabaseSummary.Builder prefix(String prefix)
Name prefix for the sharded databases.
prefix
- the value to setpublic DedicatedShardedDatabaseSummary.Builder totalCpuCount(Integer totalCpuCount)
Total cpu count usage for shards and catalogs of the sharded database.
totalCpuCount
- the value to setpublic DedicatedShardedDatabaseSummary.Builder totalDataStorageSizeInGbs(Double totalDataStorageSizeInGbs)
The aggregarted value of dataStorageSizeInGbs for all shards and catalogs.
totalDataStorageSizeInGbs
- the value to setpublic DedicatedShardedDatabaseSummary build()
public DedicatedShardedDatabaseSummary.Builder copy(DedicatedShardedDatabaseSummary model)
Copyright © 2016–2024. All rights reserved.