public static class CreateDedicatedShardedDatabase.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDedicatedShardedDatabase.Builder compartmentId(String compartmentId)
public CreateDedicatedShardedDatabase.Builder displayName(String displayName)
public CreateDedicatedShardedDatabase.Builder freeformTags(Map<String,String> freeformTags)
public CreateDedicatedShardedDatabase.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateDedicatedShardedDatabase.Builder replicationMethod(DedicatedShardedDatabase.ReplicationMethod replicationMethod)
The Replication method for sharded database.
replicationMethod
- the value to setpublic CreateDedicatedShardedDatabase.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 CreateDedicatedShardedDatabase.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 CreateDedicatedShardedDatabase.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 CreateDedicatedShardedDatabase.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 CreateDedicatedShardedDatabase.Builder dbWorkload(CreateDedicatedShardedDatabase.DbWorkload dbWorkload)
Possible workload types.
dbWorkload
- the value to setpublic CreateDedicatedShardedDatabase.Builder shardingMethod(CreateDedicatedShardedDatabase.ShardingMethod shardingMethod)
Sharding Method.
shardingMethod
- the value to setpublic CreateDedicatedShardedDatabase.Builder dbVersion(String dbVersion)
Oracle Database version of the Autonomous Container Database.
dbVersion
- the value to setpublic CreateDedicatedShardedDatabase.Builder characterSet(String characterSet)
The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
characterSet
- the value to setpublic CreateDedicatedShardedDatabase.Builder ncharacterSet(String ncharacterSet)
The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets
ncharacterSet
- the value to setpublic CreateDedicatedShardedDatabase.Builder listenerPort(Integer listenerPort)
The listener port number for sharded database.
listenerPort
- the value to setpublic CreateDedicatedShardedDatabase.Builder listenerPortTls(Integer listenerPortTls)
The TLS listener port number for sharded database.
listenerPortTls
- the value to setpublic CreateDedicatedShardedDatabase.Builder onsPortLocal(Integer onsPortLocal)
Ons port local for sharded database.
onsPortLocal
- the value to setpublic CreateDedicatedShardedDatabase.Builder onsPortRemote(Integer onsPortRemote)
Ons remote port for sharded database.
onsPortRemote
- the value to setpublic CreateDedicatedShardedDatabase.Builder prefix(String prefix)
Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.
prefix
- the value to setpublic CreateDedicatedShardedDatabase.Builder shardDetails(List<CreateDedicatedShardDetail> shardDetails)
Collection of ATP-Dedicated shards that needs to be created.
shardDetails
- the value to setpublic CreateDedicatedShardedDatabase.Builder catalogDetails(List<CreateDedicatedCatalogDetail> catalogDetails)
Collection of ATP-Dedicated catalogs that needs to be created.
catalogDetails
- the value to setpublic CreateDedicatedShardedDatabase build()
public CreateDedicatedShardedDatabase.Builder copy(CreateDedicatedShardedDatabase model)
Copyright © 2016–2024. All rights reserved.