Class CreateDedicatedShardDetail
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.globallydistributeddatabase.model.CreateDedicatedShardDetail
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public final class CreateDedicatedShardDetail extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails required for creation of ATP-D based shard.
Note: Objects should always be created or deserialized using theCreateDedicatedShardDetail.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 theCreateDedicatedShardDetail.Builder, which maintain a set of all explicitly set fields calledCreateDedicatedShardDetail.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 classCreateDedicatedShardDetail.Builder
-
Constructor Summary
Constructors Constructor Description CreateDedicatedShardDetail(DedicatedShardOrCatalogEncryptionKeyDetails encryptionKeyDetails, String adminPassword, Float computeCount, Double dataStorageSizeInGbs, String shardSpace, Boolean isAutoScalingEnabled, String cloudAutonomousVmClusterId, String peerCloudAutonomousVmClusterId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDedicatedShardDetail.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAdminPassword()Admin password for shard database.StringgetCloudAutonomousVmClusterId()The OCID of the cloud Autonomous Exadata VM Cluster.FloatgetComputeCount()The compute count for the shard database.DoublegetDataStorageSizeInGbs()The data disk group size to be allocated in GBs for the shard database.DedicatedShardOrCatalogEncryptionKeyDetailsgetEncryptionKeyDetails()BooleangetIsAutoScalingEnabled()Determines the auto-scaling mode for the shard database.StringgetPeerCloudAutonomousVmClusterId()The OCID of the peer cloud Autonomous Exadata VM Cluster.StringgetShardSpace()The shard space name for the shard database.inthashCode()CreateDedicatedShardDetail.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDedicatedShardDetail
@Deprecated @ConstructorProperties({"encryptionKeyDetails","adminPassword","computeCount","dataStorageSizeInGbs","shardSpace","isAutoScalingEnabled","cloudAutonomousVmClusterId","peerCloudAutonomousVmClusterId"}) public CreateDedicatedShardDetail(DedicatedShardOrCatalogEncryptionKeyDetails encryptionKeyDetails, String adminPassword, Float computeCount, Double dataStorageSizeInGbs, String shardSpace, Boolean isAutoScalingEnabled, String cloudAutonomousVmClusterId, String peerCloudAutonomousVmClusterId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDedicatedShardDetail.Builder builder()
Create a new builder.
-
toBuilder
public CreateDedicatedShardDetail.Builder toBuilder()
-
getEncryptionKeyDetails
public DedicatedShardOrCatalogEncryptionKeyDetails getEncryptionKeyDetails()
-
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:
toStringin classcom.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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-