Class DedicatedShardedDatabase
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabase
-
- com.oracle.bmc.globallydistributeddatabase.model.DedicatedShardedDatabase
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public final class DedicatedShardedDatabase extends ShardedDatabaseDetails of ATP-D based sharded database.
Note: Objects should always be created or deserialized using theDedicatedShardedDatabase.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 theDedicatedShardedDatabase.Builder, which maintain a set of all explicitly set fields calledDedicatedShardedDatabase.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 Summary
Nested Classes Modifier and Type Class Description static classDedicatedShardedDatabase.Builderstatic classDedicatedShardedDatabase.DbWorkloadPossible workload types.static classDedicatedShardedDatabase.ReplicationMethodThe Replication method for sharded database.static classDedicatedShardedDatabase.ShardingMethodSharding Method.-
Nested classes/interfaces inherited from class com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabase
ShardedDatabase.DbDeploymentType, ShardedDatabase.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description DedicatedShardedDatabase(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, ShardedDatabase.LifecycleState lifecycleState, String lifecycleStateDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DedicatedShardedDatabase.ReplicationMethod replicationMethod, Integer replicationFactor, Integer replicationUnit, String clusterCertificateCommonName, String characterSet, String ncharacterSet, Integer chunks, DedicatedShardedDatabase.DbWorkload dbWorkload, DedicatedShardedDatabase.ShardingMethod shardingMethod, String dbVersion, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, String privateEndpoint, ConnectionString connectionStrings, String timeZone, List<GsmDetails> gsms, List<DedicatedShardDetails> shardDetails, List<DedicatedCatalogDetails> catalogDetails)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DedicatedShardedDatabase.Builderbuilder()Create a new builder.booleanequals(Object o)List<DedicatedCatalogDetails>getCatalogDetails()Details of ATP-D based catalogs.StringgetCharacterSet()The character set for the database.IntegergetChunks()The default number of unique chunks in a shardspace.StringgetClusterCertificateCommonName()The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology.ConnectionStringgetConnectionStrings()StringgetDbVersion()Oracle Database version number.DedicatedShardedDatabase.DbWorkloadgetDbWorkload()Possible workload types.List<GsmDetails>getGsms()Details of GSM instances for the sharded database.IntegergetListenerPort()The GSM listener port number.IntegergetListenerPortTls()The TLS listener port number for sharded database.StringgetNcharacterSet()The national character set for the database.IntegergetOnsPortLocal()Ons local port number.IntegergetOnsPortRemote()Ons remote port number.StringgetPrefix()Unique prefix for the sharded database.StringgetPrivateEndpoint()The OCID of private endpoint being used by the sharded database.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<DedicatedShardDetails>getShardDetails()Details of ATP-D based shards.DedicatedShardedDatabase.ShardingMethodgetShardingMethod()Sharding Method.StringgetTimeZone()Timezone associated with the sharded database.inthashCode()DedicatedShardedDatabase.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabase
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getLifecycleStateDetails, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DedicatedShardedDatabase
@Deprecated public DedicatedShardedDatabase(String id, String compartmentId, String displayName, Date timeCreated, Date timeUpdated, ShardedDatabase.LifecycleState lifecycleState, String lifecycleStateDetails, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, DedicatedShardedDatabase.ReplicationMethod replicationMethod, Integer replicationFactor, Integer replicationUnit, String clusterCertificateCommonName, String characterSet, String ncharacterSet, Integer chunks, DedicatedShardedDatabase.DbWorkload dbWorkload, DedicatedShardedDatabase.ShardingMethod shardingMethod, String dbVersion, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, String privateEndpoint, ConnectionString connectionStrings, String timeZone, List<GsmDetails> gsms, List<DedicatedShardDetails> shardDetails, List<DedicatedCatalogDetails> catalogDetails)
Deprecated.
-
-
Method Detail
-
builder
public static DedicatedShardedDatabase.Builder builder()
Create a new builder.
-
toBuilder
public DedicatedShardedDatabase.Builder toBuilder()
-
getReplicationMethod
public DedicatedShardedDatabase.ReplicationMethod getReplicationMethod()
The Replication method for sharded database.Use RAFT for Raft replication, and DG for DataGuard. If replicationMethod is not provided, it defaults to DG.
- Returns:
- the value
-
getReplicationFactor
public Integer getReplicationFactor()
The Replication factor for RAFT replication based sharded database.Currently supported values are 3, 5 and 7.
- Returns:
- the value
-
getReplicationUnit
public Integer getReplicationUnit()
For RAFT replication based sharded database, the value should be atleast twice the number of shards.- Returns:
- the value
-
getClusterCertificateCommonName
public 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
-
getCharacterSet
public String getCharacterSet()
The character set for the database.- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the database.- Returns:
- the value
-
getChunks
public 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
-
getDbWorkload
public DedicatedShardedDatabase.DbWorkload getDbWorkload()
Possible workload types.- Returns:
- the value
-
getShardingMethod
public DedicatedShardedDatabase.ShardingMethod getShardingMethod()
Sharding Method.- Returns:
- the value
-
getDbVersion
public String getDbVersion()
Oracle Database version number.- Returns:
- the value
-
getListenerPort
public Integer getListenerPort()
The GSM listener port number.- Returns:
- the value
-
getListenerPortTls
public Integer getListenerPortTls()
The TLS listener port number for sharded database.- Returns:
- the value
-
getOnsPortLocal
public Integer getOnsPortLocal()
Ons local port number.- Returns:
- the value
-
getOnsPortRemote
public Integer getOnsPortRemote()
Ons remote port number.- Returns:
- the value
-
getPrefix
public String getPrefix()
Unique prefix for the sharded database.- Returns:
- the value
-
getPrivateEndpoint
public String getPrivateEndpoint()
The OCID of private endpoint being used by the sharded database.- Returns:
- the value
-
getConnectionStrings
public ConnectionString getConnectionStrings()
-
getTimeZone
public String getTimeZone()
Timezone associated with the sharded database.- Returns:
- the value
-
getGsms
public List<GsmDetails> getGsms()
Details of GSM instances for the sharded database.- Returns:
- the value
-
getShardDetails
public List<DedicatedShardDetails> getShardDetails()
Details of ATP-D based shards.- Returns:
- the value
-
getCatalogDetails
public List<DedicatedCatalogDetails> getCatalogDetails()
Details of ATP-D based catalogs.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classShardedDatabase
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classShardedDatabase- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classShardedDatabase
-
hashCode
public int hashCode()
- Overrides:
hashCodein classShardedDatabase
-
-