public static class DedicatedShardedDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
public DedicatedShardedDatabase.Builder id(String id)
public DedicatedShardedDatabase.Builder compartmentId(String compartmentId)
public DedicatedShardedDatabase.Builder displayName(String displayName)
public DedicatedShardedDatabase.Builder timeCreated(Date timeCreated)
public DedicatedShardedDatabase.Builder timeUpdated(Date timeUpdated)
public DedicatedShardedDatabase.Builder lifecycleState(ShardedDatabase.LifecycleState lifecycleState)
public DedicatedShardedDatabase.Builder lifecycleStateDetails(String lifecycleStateDetails)
public DedicatedShardedDatabase.Builder freeformTags(Map<String,String> freeformTags)
public DedicatedShardedDatabase.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public DedicatedShardedDatabase.Builder systemTags(Map<String,Map<String,Object>> systemTags)
public DedicatedShardedDatabase.Builder replicationMethod(DedicatedShardedDatabase.ReplicationMethod replicationMethod)
The Replication method for sharded database. Use RAFT for Raft replication, and DG for DataGuard. If replicationMethod is not provided, it defaults to DG.
replicationMethod
- the value to setpublic DedicatedShardedDatabase.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 DedicatedShardedDatabase.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 DedicatedShardedDatabase.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 DedicatedShardedDatabase.Builder characterSet(String characterSet)
The character set for the database.
characterSet
- the value to setpublic DedicatedShardedDatabase.Builder ncharacterSet(String ncharacterSet)
The national character set for the database.
ncharacterSet
- the value to setpublic DedicatedShardedDatabase.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 DedicatedShardedDatabase.Builder dbWorkload(DedicatedShardedDatabase.DbWorkload dbWorkload)
Possible workload types.
dbWorkload
- the value to setpublic DedicatedShardedDatabase.Builder shardingMethod(DedicatedShardedDatabase.ShardingMethod shardingMethod)
Sharding Method.
shardingMethod
- the value to setpublic DedicatedShardedDatabase.Builder dbVersion(String dbVersion)
Oracle Database version number.
dbVersion
- the value to setpublic DedicatedShardedDatabase.Builder listenerPort(Integer listenerPort)
The GSM listener port number.
listenerPort
- the value to setpublic DedicatedShardedDatabase.Builder listenerPortTls(Integer listenerPortTls)
The TLS listener port number for sharded database.
listenerPortTls
- the value to setpublic DedicatedShardedDatabase.Builder onsPortLocal(Integer onsPortLocal)
Ons local port number.
onsPortLocal
- the value to setpublic DedicatedShardedDatabase.Builder onsPortRemote(Integer onsPortRemote)
Ons remote port number.
onsPortRemote
- the value to setpublic DedicatedShardedDatabase.Builder prefix(String prefix)
Unique prefix for the sharded database.
prefix
- the value to setpublic DedicatedShardedDatabase.Builder privateEndpoint(String privateEndpoint)
The OCID of private endpoint being used by the sharded database.
privateEndpoint
- the value to setpublic DedicatedShardedDatabase.Builder connectionStrings(ConnectionString connectionStrings)
public DedicatedShardedDatabase.Builder timeZone(String timeZone)
Timezone associated with the sharded database.
timeZone
- the value to setpublic DedicatedShardedDatabase.Builder gsms(List<GsmDetails> gsms)
Details of GSM instances for the sharded database.
gsms
- the value to setpublic DedicatedShardedDatabase.Builder shardDetails(List<DedicatedShardDetails> shardDetails)
Details of ATP-D based shards.
shardDetails
- the value to setpublic DedicatedShardedDatabase.Builder catalogDetails(List<DedicatedCatalogDetails> catalogDetails)
Details of ATP-D based catalogs.
catalogDetails
- the value to setpublic DedicatedShardedDatabase build()
public DedicatedShardedDatabase.Builder copy(DedicatedShardedDatabase model)
Copyright © 2016–2024. All rights reserved.