Class CreateDedicatedShardDetail


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230301")
    public final class CreateDedicatedShardDetail
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Details required for creation of ATP-D based shard.
    Note: Objects should always be created or deserialized using the CreateDedicatedShardDetail.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 CreateDedicatedShardDetail.Builder, which maintain a set of all explicitly set fields called CreateDedicatedShardDetail.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

      • getAdminPassword

        public String getAdminPassword()
        Admin password for shard database.
        Returns:
        the value
      • getComputeCount

        public Float getComputeCount()
        The compute count for the shard database.

        It has to be in multiples of 2.

        Returns:
        the value
      • getDataStorageSizeInGbs

        public Double getDataStorageSizeInGbs()
        The data disk group size to be allocated in GBs for the shard database.
        Returns:
        the value
      • getShardSpace

        public String getShardSpace()
        The shard space name for the shard database.

        Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required.

        Returns:
        the value
      • getIsAutoScalingEnabled

        public Boolean getIsAutoScalingEnabled()
        Determines the auto-scaling mode for the shard database.
        Returns:
        the value
      • getCloudAutonomousVmClusterId

        public String getCloudAutonomousVmClusterId()
        The OCID of the cloud Autonomous Exadata VM Cluster.
        Returns:
        the value
      • getPeerCloudAutonomousVmClusterId

        public String getPeerCloudAutonomousVmClusterId()
        The OCID of the peer cloud Autonomous Exadata VM Cluster.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

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

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel