Class DedicatedShardedDatabase


  • @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).
    • Method Detail

      • 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
      • 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
      • 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
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class ShardedDatabase
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation