Class CreateDedicatedShardedDatabase
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.globallydistributeddatabase.model.CreateShardedDatabaseDetails
- 
- com.oracle.bmc.globallydistributeddatabase.model.CreateDedicatedShardedDatabase
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public final class CreateDedicatedShardedDatabase extends CreateShardedDatabaseDetailsRequest details for creation of ATP-Dedicated based sharded database.
 Note: Objects should always be created or deserialized using theCreateDedicatedShardedDatabase.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateDedicatedShardedDatabase.Builder, which maintain a set of all explicitly set fields calledCreateDedicatedShardedDatabase.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreateDedicatedShardedDatabase.Builderstatic classCreateDedicatedShardedDatabase.DbWorkloadPossible workload types.static classCreateDedicatedShardedDatabase.ShardingMethodSharding Method.- 
Nested classes/interfaces inherited from class com.oracle.bmc.globallydistributeddatabase.model.CreateShardedDatabaseDetailsCreateShardedDatabaseDetails.DbDeploymentType
 
- 
 - 
Constructor SummaryConstructors Constructor Description CreateDedicatedShardedDatabase(String compartmentId, String displayName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DedicatedShardedDatabase.ReplicationMethod replicationMethod, Integer replicationFactor, Integer replicationUnit, String clusterCertificateCommonName, Integer chunks, CreateDedicatedShardedDatabase.DbWorkload dbWorkload, CreateDedicatedShardedDatabase.ShardingMethod shardingMethod, String dbVersion, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, List<CreateDedicatedShardDetail> shardDetails, List<CreateDedicatedCatalogDetail> catalogDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDedicatedShardedDatabase.Builderbuilder()Create a new builder.booleanequals(Object o)List<CreateDedicatedCatalogDetail>getCatalogDetails()Collection of ATP-Dedicated catalogs that needs to be created.StringgetCharacterSet()The character set for the new shard database being created.IntegergetChunks()The default number of unique chunks in a shardspace.StringgetClusterCertificateCommonName()The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology.StringgetDbVersion()Oracle Database version of the Autonomous Container Database.CreateDedicatedShardedDatabase.DbWorkloadgetDbWorkload()Possible workload types.IntegergetListenerPort()The listener port number for sharded database.IntegergetListenerPortTls()The TLS listener port number for sharded database.StringgetNcharacterSet()The national character set for the new shard database being created.IntegergetOnsPortLocal()Ons port local for sharded database.IntegergetOnsPortRemote()Ons remote port for sharded database.StringgetPrefix()Unique name prefix for the sharded databases.IntegergetReplicationFactor()The Replication factor for RAFT replication based sharded database.DedicatedShardedDatabase.ReplicationMethodgetReplicationMethod()The Replication method for sharded database.IntegergetReplicationUnit()For RAFT replication based sharded database, the value should be atleast twice the number of shards.List<CreateDedicatedShardDetail>getShardDetails()Collection of ATP-Dedicated shards that needs to be created.CreateDedicatedShardedDatabase.ShardingMethodgetShardingMethod()Sharding Method.inthashCode()CreateDedicatedShardedDatabase.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.globallydistributeddatabase.model.CreateShardedDatabaseDetailsgetCompartmentId, getDefinedTags, getDisplayName, getFreeformTags
 
- 
 
- 
- 
- 
Constructor Detail- 
CreateDedicatedShardedDatabase@Deprecated public CreateDedicatedShardedDatabase(String compartmentId, String displayName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DedicatedShardedDatabase.ReplicationMethod replicationMethod, Integer replicationFactor, Integer replicationUnit, String clusterCertificateCommonName, Integer chunks, CreateDedicatedShardedDatabase.DbWorkload dbWorkload, CreateDedicatedShardedDatabase.ShardingMethod shardingMethod, String dbVersion, String characterSet, String ncharacterSet, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, List<CreateDedicatedShardDetail> shardDetails, List<CreateDedicatedCatalogDetail> catalogDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateDedicatedShardedDatabase.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateDedicatedShardedDatabase.Builder toBuilder() 
 - 
getReplicationMethodpublic DedicatedShardedDatabase.ReplicationMethod getReplicationMethod() The Replication method for sharded database.- Returns:
- the value
 
 - 
getReplicationFactorpublic Integer getReplicationFactor() The Replication factor for RAFT replication based sharded database.Currently supported values are 3, 5 and 7. - Returns:
- the value
 
 - 
getReplicationUnitpublic Integer getReplicationUnit() For RAFT replication based sharded database, the value should be atleast twice the number of shards.- Returns:
- the value
 
 - 
getClusterCertificateCommonNamepublic String getClusterCertificateCommonName() 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. - Returns:
- the value
 
 - 
getChunkspublic Integer getChunks() 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. - Returns:
- the value
 
 - 
getDbWorkloadpublic CreateDedicatedShardedDatabase.DbWorkload getDbWorkload() Possible workload types.- Returns:
- the value
 
 - 
getShardingMethodpublic CreateDedicatedShardedDatabase.ShardingMethod getShardingMethod() Sharding Method.- Returns:
- the value
 
 - 
getDbVersionpublic String getDbVersion() Oracle Database version of the Autonomous Container Database.- Returns:
- the value
 
 - 
getCharacterSetpublic String getCharacterSet() 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 - Returns:
- the value
 
 - 
getNcharacterSetpublic String getNcharacterSet() 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 - Returns:
- the value
 
 - 
getListenerPortpublic Integer getListenerPort() The listener port number for sharded database.- Returns:
- the value
 
 - 
getListenerPortTlspublic Integer getListenerPortTls() The TLS listener port number for sharded database.- Returns:
- the value
 
 - 
getOnsPortLocalpublic Integer getOnsPortLocal() Ons port local for sharded database.- Returns:
- the value
 
 - 
getOnsPortRemotepublic Integer getOnsPortRemote() Ons remote port for sharded database.- Returns:
- the value
 
 - 
getPrefixpublic String getPrefix() 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. - Returns:
- the value
 
 - 
getShardDetailspublic List<CreateDedicatedShardDetail> getShardDetails() Collection of ATP-Dedicated shards that needs to be created.- Returns:
- the value
 
 - 
getCatalogDetailspublic List<CreateDedicatedCatalogDetail> getCatalogDetails() Collection of ATP-Dedicated catalogs that needs to be created.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- CreateShardedDatabaseDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CreateShardedDatabaseDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CreateShardedDatabaseDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CreateShardedDatabaseDetails
 
 
- 
 
-