@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public final class DedicatedShardedDatabase extends ShardedDatabase
Details of ATP-D based sharded database.
Note: Objects should always be created or deserialized using the DedicatedShardedDatabase.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 the DedicatedShardedDatabase.Builder
, which maintain a
set of all explicitly set fields called DedicatedShardedDatabase.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
DedicatedShardedDatabase.Builder |
static class |
DedicatedShardedDatabase.DbWorkload
Possible workload types.
|
static class |
DedicatedShardedDatabase.ReplicationMethod
The Replication method for sharded database.
|
static class |
DedicatedShardedDatabase.ShardingMethod
Sharding Method.
|
ShardedDatabase.DbDeploymentType, ShardedDatabase.LifecycleState
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static DedicatedShardedDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<DedicatedCatalogDetails> |
getCatalogDetails()
Details of ATP-D based catalogs.
|
String |
getCharacterSet()
The character set for the 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.
|
ConnectionString |
getConnectionStrings() |
String |
getDbVersion()
Oracle Database version number.
|
DedicatedShardedDatabase.DbWorkload |
getDbWorkload()
Possible workload types.
|
List<GsmDetails> |
getGsms()
Details of GSM instances for the sharded database.
|
Integer |
getListenerPort()
The GSM listener port number.
|
Integer |
getListenerPortTls()
The TLS listener port number for sharded database.
|
String |
getNcharacterSet()
The national character set for the database.
|
Integer |
getOnsPortLocal()
Ons local port number.
|
Integer |
getOnsPortRemote()
Ons remote port number.
|
String |
getPrefix()
Unique prefix for the sharded database.
|
String |
getPrivateEndpoint()
The OCID of private endpoint being used by the sharded database.
|
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.
|
List<DedicatedShardDetails> |
getShardDetails()
Details of ATP-D based shards.
|
DedicatedShardedDatabase.ShardingMethod |
getShardingMethod()
Sharding Method.
|
String |
getTimeZone()
Timezone associated with the sharded database.
|
int |
hashCode() |
DedicatedShardedDatabase.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getLifecycleStateDetails, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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)
public static DedicatedShardedDatabase.Builder builder()
Create a new builder.
public DedicatedShardedDatabase.Builder toBuilder()
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.
public Integer getReplicationFactor()
The Replication factor for RAFT replication based sharded database. Currently supported values are 3, 5 and 7.
public Integer getReplicationUnit()
For RAFT replication based sharded database, the value should be atleast twice the number of shards.
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.
public String getCharacterSet()
The character set for the database.
public String getNcharacterSet()
The national character set for the database.
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.
public DedicatedShardedDatabase.DbWorkload getDbWorkload()
Possible workload types.
public DedicatedShardedDatabase.ShardingMethod getShardingMethod()
Sharding Method.
public String getDbVersion()
Oracle Database version number.
public Integer getListenerPort()
The GSM listener port number.
public Integer getListenerPortTls()
The TLS listener port number for sharded database.
public Integer getOnsPortLocal()
Ons local port number.
public Integer getOnsPortRemote()
Ons remote port number.
public String getPrefix()
Unique prefix for the sharded database.
public String getPrivateEndpoint()
The OCID of private endpoint being used by the sharded database.
public ConnectionString getConnectionStrings()
public String getTimeZone()
Timezone associated with the sharded database.
public List<GsmDetails> getGsms()
Details of GSM instances for the sharded database.
public List<DedicatedShardDetails> getShardDetails()
Details of ATP-D based shards.
public List<DedicatedCatalogDetails> getCatalogDetails()
Details of ATP-D based catalogs.
public String toString()
toString
in class ShardedDatabase
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ShardedDatabase
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ShardedDatabase
public int hashCode()
hashCode
in class ShardedDatabase
Copyright © 2016–2024. All rights reserved.