Class DedicatedShardedDatabaseSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabaseSummary
-
- com.oracle.bmc.globallydistributeddatabase.model.DedicatedShardedDatabaseSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public final class DedicatedShardedDatabaseSummary extends ShardedDatabaseSummary
Summary of ATP-D based sharded database.
Note: Objects should always be created or deserialized using theDedicatedShardedDatabaseSummary.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 theDedicatedShardedDatabaseSummary.Builder
, which maintain a set of all explicitly set fields calledDedicatedShardedDatabaseSummary.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 class
DedicatedShardedDatabaseSummary.Builder
static class
DedicatedShardedDatabaseSummary.DbWorkload
Possible workload types.static class
DedicatedShardedDatabaseSummary.ShardingMethod
Sharding Method.-
Nested classes/interfaces inherited from class com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabaseSummary
ShardedDatabaseSummary.DbDeploymentType
-
-
Constructor Summary
Constructors Constructor Description DedicatedShardedDatabaseSummary(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, DedicatedShardedDatabaseSummary.DbWorkload dbWorkload, DedicatedShardedDatabaseSummary.ShardingMethod shardingMethod, String characterSet, String ncharacterSet, Integer chunks, String dbVersion, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, Integer totalCpuCount, Double totalDataStorageSizeInGbs)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DedicatedShardedDatabaseSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCharacterSet()
The character set for the sharded database.Integer
getChunks()
The default number of unique chunks in a shardspace.String
getClusterCertificateCommonName()
The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology.String
getDbVersion()
Oracle Database version of the Autonomous Container Database.DedicatedShardedDatabaseSummary.DbWorkload
getDbWorkload()
Possible workload types.Integer
getListenerPort()
The listener port number for the sharded database.Integer
getListenerPortTls()
The TLS listener port number for sharded database.String
getNcharacterSet()
The national character set for the sharded database.Integer
getOnsPortLocal()
Ons local port number.Integer
getOnsPortRemote()
Ons remote port number.String
getPrefix()
Name prefix for the sharded databases.Integer
getReplicationFactor()
The Replication factor for RAFT replication based sharded database.DedicatedShardedDatabase.ReplicationMethod
getReplicationMethod()
The Replication method for sharded database.Integer
getReplicationUnit()
For RAFT replication based sharded database, the value should be atleast twice the number of shards.DedicatedShardedDatabaseSummary.ShardingMethod
getShardingMethod()
Sharding Method.Integer
getTotalCpuCount()
Total cpu count usage for shards and catalogs of the sharded database.Double
getTotalDataStorageSizeInGbs()
The aggregarted value of dataStorageSizeInGbs for all shards and catalogs.int
hashCode()
DedicatedShardedDatabaseSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.globallydistributeddatabase.model.ShardedDatabaseSummary
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getLifecycleStateDetails, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DedicatedShardedDatabaseSummary
@Deprecated public DedicatedShardedDatabaseSummary(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, DedicatedShardedDatabaseSummary.DbWorkload dbWorkload, DedicatedShardedDatabaseSummary.ShardingMethod shardingMethod, String characterSet, String ncharacterSet, Integer chunks, String dbVersion, Integer listenerPort, Integer listenerPortTls, Integer onsPortLocal, Integer onsPortRemote, String prefix, Integer totalCpuCount, Double totalDataStorageSizeInGbs)
Deprecated.
-
-
Method Detail
-
builder
public static DedicatedShardedDatabaseSummary.Builder builder()
Create a new builder.
-
toBuilder
public DedicatedShardedDatabaseSummary.Builder toBuilder()
-
getReplicationMethod
public DedicatedShardedDatabase.ReplicationMethod getReplicationMethod()
The Replication method for sharded database.- 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
-
getDbWorkload
public DedicatedShardedDatabaseSummary.DbWorkload getDbWorkload()
Possible workload types.- Returns:
- the value
-
getShardingMethod
public DedicatedShardedDatabaseSummary.ShardingMethod getShardingMethod()
Sharding Method.- Returns:
- the value
-
getCharacterSet
public String getCharacterSet()
The character set for the sharded database.- Returns:
- the value
-
getNcharacterSet
public String getNcharacterSet()
The national character set for the sharded 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
-
getDbVersion
public String getDbVersion()
Oracle Database version of the Autonomous Container Database.- Returns:
- the value
-
getListenerPort
public Integer getListenerPort()
The listener port number for the sharded database.- 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()
Name prefix for the sharded databases.- Returns:
- the value
-
getTotalCpuCount
public Integer getTotalCpuCount()
Total cpu count usage for shards and catalogs of the sharded database.- Returns:
- the value
-
getTotalDataStorageSizeInGbs
public Double getTotalDataStorageSizeInGbs()
The aggregarted value of dataStorageSizeInGbs for all shards and catalogs.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classShardedDatabaseSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classShardedDatabaseSummary
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classShardedDatabaseSummary
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classShardedDatabaseSummary
-
-