Class CreateDedicatedShardedDatabase


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230301")
    public final class CreateDedicatedShardedDatabase
    extends CreateShardedDatabaseDetails
    Request details for creation of ATP-Dedicated based sharded database.
    Note: Objects should always be created or deserialized using the CreateDedicatedShardedDatabase.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 CreateDedicatedShardedDatabase.Builder, which maintain a set of all explicitly set fields called CreateDedicatedShardedDatabase.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

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

        public 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
      • getNcharacterSet

        public 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
      • getListenerPort

        public Integer getListenerPort()
        The listener port number for 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 port local for sharded database.
        Returns:
        the value
      • getOnsPortRemote

        public Integer getOnsPortRemote()
        Ons remote port for sharded database.
        Returns:
        the value
      • getPrefix

        public 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
      • getShardDetails

        public List<CreateDedicatedShardDetail> getShardDetails()
        Collection of ATP-Dedicated shards that needs to be created.
        Returns:
        the value
      • getCatalogDetails

        public List<CreateDedicatedCatalogDetail> getCatalogDetails()
        Collection of ATP-Dedicated catalogs that needs to be created.
        Returns:
        the value
      • toString

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