Class DedicatedShardedDatabase.Builder
- java.lang.Object
- 
- com.oracle.bmc.globallydistributeddatabase.model.DedicatedShardedDatabase.Builder
 
- 
- Enclosing class:
- DedicatedShardedDatabase
 
 public static class DedicatedShardedDatabase.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic DedicatedShardedDatabase.Builder id(String id) 
 - 
compartmentIdpublic DedicatedShardedDatabase.Builder compartmentId(String compartmentId) 
 - 
displayNamepublic DedicatedShardedDatabase.Builder displayName(String displayName) 
 - 
timeCreatedpublic DedicatedShardedDatabase.Builder timeCreated(Date timeCreated) 
 - 
timeUpdatedpublic DedicatedShardedDatabase.Builder timeUpdated(Date timeUpdated) 
 - 
lifecycleStatepublic DedicatedShardedDatabase.Builder lifecycleState(ShardedDatabase.LifecycleState lifecycleState) 
 - 
lifecycleStateDetailspublic DedicatedShardedDatabase.Builder lifecycleStateDetails(String lifecycleStateDetails) 
 - 
freeformTagspublic DedicatedShardedDatabase.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic DedicatedShardedDatabase.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
systemTagspublic DedicatedShardedDatabase.Builder systemTags(Map<String,Map<String,Object>> systemTags) 
 - 
replicationMethodpublic 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. - Parameters:
- replicationMethod- the value to set
- Returns:
- this builder
 
 - 
replicationFactorpublic DedicatedShardedDatabase.Builder replicationFactor(Integer replicationFactor) The Replication factor for RAFT replication based sharded database.Currently supported values are 3, 5 and 7. - Parameters:
- replicationFactor- the value to set
- Returns:
- this builder
 
 - 
replicationUnitpublic DedicatedShardedDatabase.Builder replicationUnit(Integer replicationUnit) For RAFT replication based sharded database, the value should be atleast twice the number of shards.- Parameters:
- replicationUnit- the value to set
- Returns:
- this builder
 
 - 
clusterCertificateCommonNamepublic 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. - Parameters:
- clusterCertificateCommonName- the value to set
- Returns:
- this builder
 
 - 
characterSetpublic DedicatedShardedDatabase.Builder characterSet(String characterSet) The character set for the database.- Parameters:
- characterSet- the value to set
- Returns:
- this builder
 
 - 
ncharacterSetpublic DedicatedShardedDatabase.Builder ncharacterSet(String ncharacterSet) The national character set for the database.- Parameters:
- ncharacterSet- the value to set
- Returns:
- this builder
 
 - 
chunkspublic 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. - Parameters:
- chunks- the value to set
- Returns:
- this builder
 
 - 
dbWorkloadpublic DedicatedShardedDatabase.Builder dbWorkload(DedicatedShardedDatabase.DbWorkload dbWorkload) Possible workload types.- Parameters:
- dbWorkload- the value to set
- Returns:
- this builder
 
 - 
shardingMethodpublic DedicatedShardedDatabase.Builder shardingMethod(DedicatedShardedDatabase.ShardingMethod shardingMethod) Sharding Method.- Parameters:
- shardingMethod- the value to set
- Returns:
- this builder
 
 - 
dbVersionpublic DedicatedShardedDatabase.Builder dbVersion(String dbVersion) Oracle Database version number.- Parameters:
- dbVersion- the value to set
- Returns:
- this builder
 
 - 
listenerPortpublic DedicatedShardedDatabase.Builder listenerPort(Integer listenerPort) The GSM listener port number.- Parameters:
- listenerPort- the value to set
- Returns:
- this builder
 
 - 
listenerPortTlspublic DedicatedShardedDatabase.Builder listenerPortTls(Integer listenerPortTls) The TLS listener port number for sharded database.- Parameters:
- listenerPortTls- the value to set
- Returns:
- this builder
 
 - 
onsPortLocalpublic DedicatedShardedDatabase.Builder onsPortLocal(Integer onsPortLocal) Ons local port number.- Parameters:
- onsPortLocal- the value to set
- Returns:
- this builder
 
 - 
onsPortRemotepublic DedicatedShardedDatabase.Builder onsPortRemote(Integer onsPortRemote) Ons remote port number.- Parameters:
- onsPortRemote- the value to set
- Returns:
- this builder
 
 - 
prefixpublic DedicatedShardedDatabase.Builder prefix(String prefix) Unique prefix for the sharded database.- Parameters:
- prefix- the value to set
- Returns:
- this builder
 
 - 
privateEndpointpublic DedicatedShardedDatabase.Builder privateEndpoint(String privateEndpoint) The OCID of private endpoint being used by the sharded database.- Parameters:
- privateEndpoint- the value to set
- Returns:
- this builder
 
 - 
connectionStringspublic DedicatedShardedDatabase.Builder connectionStrings(ConnectionString connectionStrings) 
 - 
timeZonepublic DedicatedShardedDatabase.Builder timeZone(String timeZone) Timezone associated with the sharded database.- Parameters:
- timeZone- the value to set
- Returns:
- this builder
 
 - 
gsmspublic DedicatedShardedDatabase.Builder gsms(List<GsmDetails> gsms) Details of GSM instances for the sharded database.- Parameters:
- gsms- the value to set
- Returns:
- this builder
 
 - 
shardDetailspublic DedicatedShardedDatabase.Builder shardDetails(List<DedicatedShardDetails> shardDetails) Details of ATP-D based shards.- Parameters:
- shardDetails- the value to set
- Returns:
- this builder
 
 - 
catalogDetailspublic DedicatedShardedDatabase.Builder catalogDetails(List<DedicatedCatalogDetails> catalogDetails) Details of ATP-D based catalogs.- Parameters:
- catalogDetails- the value to set
- Returns:
- this builder
 
 - 
buildpublic DedicatedShardedDatabase build() 
 - 
copypublic DedicatedShardedDatabase.Builder copy(DedicatedShardedDatabase model) 
 
- 
 
-