Class DistributedAutonomousDatabaseShardWithDedicatedInfra
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabaseShard
-
- com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabaseShardWithDedicatedInfra
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250101") public final class DistributedAutonomousDatabaseShardWithDedicatedInfra extends DistributedAutonomousDatabaseShardGlobally distributed autonomous database shard with dedicated autonomous infrastructure.
Note: Objects should always be created or deserialized using theDistributedAutonomousDatabaseShardWithDedicatedInfra.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 theDistributedAutonomousDatabaseShardWithDedicatedInfra.Builder, which maintain a set of all explicitly set fields calledDistributedAutonomousDatabaseShardWithDedicatedInfra.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 classDistributedAutonomousDatabaseShardWithDedicatedInfra.Builderstatic classDistributedAutonomousDatabaseShardWithDedicatedInfra.StatusStatus of shard with dedicated infrastructure for the Globally distributed autonomous database.-
Nested classes/interfaces inherited from class com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabaseShard
DistributedAutonomousDatabaseShard.Source
-
-
Constructor Summary
Constructors Constructor Description DistributedAutonomousDatabaseShardWithDedicatedInfra(String name, Date timeCreated, Date timeUpdated, Float computeCount, Double dataStorageSizeInGbs, Boolean isAutoScalingEnabled, String shardGroup, String cloudAutonomousVmClusterId, List<String> peerCloudAutonomousVmClusterIds, String shardSpace, String vaultId, String kmsKeyId, String kmsKeyVersionId, DistributedAutonomousDatabaseShardWithDedicatedInfra.Status status, String supportingResourceId, String containerDatabaseId, List<ShardPeerWithDedicatedInfra> peerDetails, DistributedAutonomousDbMetadata metadata)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedAutonomousDatabaseShardWithDedicatedInfra.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCloudAutonomousVmClusterId()The OCID of the cloudAutonomousVmCluster.FloatgetComputeCount()The compute count for the shard database.StringgetContainerDatabaseId()the identifier of the container database for underlying supporting resource.DoublegetDataStorageSizeInGbs()The data disk group size to be allocated in GBs for the shard database.BooleangetIsAutoScalingEnabled()Determines the auto-scaling mode for the shard database.StringgetKmsKeyId()The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.StringgetKmsKeyVersionId()The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.DistributedAutonomousDbMetadatagetMetadata()List<String>getPeerCloudAutonomousVmClusterIds()The collection of OCID of the peer cloudAutonomousVmClusters.List<ShardPeerWithDedicatedInfra>getPeerDetails()Peer details for the shard with dedicated infrastructure.StringgetShardGroup()The name of the shardGroup for the shard.StringgetShardSpace()The shard space name for the Globally distributed autonomous database.DistributedAutonomousDatabaseShardWithDedicatedInfra.StatusgetStatus()Status of shard with dedicated infrastructure for the Globally distributed autonomous database.StringgetSupportingResourceId()the identifier of the underlying supporting resource.StringgetVaultId()inthashCode()DistributedAutonomousDatabaseShardWithDedicatedInfra.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.distributeddatabase.model.DistributedAutonomousDatabaseShard
getName, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DistributedAutonomousDatabaseShardWithDedicatedInfra
@Deprecated public DistributedAutonomousDatabaseShardWithDedicatedInfra(String name, Date timeCreated, Date timeUpdated, Float computeCount, Double dataStorageSizeInGbs, Boolean isAutoScalingEnabled, String shardGroup, String cloudAutonomousVmClusterId, List<String> peerCloudAutonomousVmClusterIds, String shardSpace, String vaultId, String kmsKeyId, String kmsKeyVersionId, DistributedAutonomousDatabaseShardWithDedicatedInfra.Status status, String supportingResourceId, String containerDatabaseId, List<ShardPeerWithDedicatedInfra> peerDetails, DistributedAutonomousDbMetadata metadata)
Deprecated.
-
-
Method Detail
-
builder
public static DistributedAutonomousDatabaseShardWithDedicatedInfra.Builder builder()
Create a new builder.
-
toBuilder
public DistributedAutonomousDatabaseShardWithDedicatedInfra.Builder toBuilder()
-
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
-
getIsAutoScalingEnabled
public Boolean getIsAutoScalingEnabled()
Determines the auto-scaling mode for the shard database.- Returns:
- the value
-
getShardGroup
public String getShardGroup()
The name of the shardGroup for the shard.- Returns:
- the value
-
getCloudAutonomousVmClusterId
public String getCloudAutonomousVmClusterId()
The OCID of the cloudAutonomousVmCluster.- Returns:
- the value
-
getPeerCloudAutonomousVmClusterIds
public List<String> getPeerCloudAutonomousVmClusterIds()
The collection of OCID of the peer cloudAutonomousVmClusters.- Returns:
- the value
-
getShardSpace
public String getShardSpace()
The shard space name for the Globally distributed autonomous database.Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards.
- Returns:
- the value
-
getVaultId
public String getVaultId()
The OCID of the Oracle Cloud Infrastructure vault.This parameter and kmsKeyId are required for Customer Managed Keys.
- Returns:
- the value
-
getKmsKeyId
public String getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.- Returns:
- the value
-
getKmsKeyVersionId
public String getKmsKeyVersionId()
The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions.- Returns:
- the value
-
getStatus
public DistributedAutonomousDatabaseShardWithDedicatedInfra.Status getStatus()
Status of shard with dedicated infrastructure for the Globally distributed autonomous database.- Returns:
- the value
-
getSupportingResourceId
public String getSupportingResourceId()
the identifier of the underlying supporting resource.- Returns:
- the value
-
getContainerDatabaseId
public String getContainerDatabaseId()
the identifier of the container database for underlying supporting resource.- Returns:
- the value
-
getPeerDetails
public List<ShardPeerWithDedicatedInfra> getPeerDetails()
Peer details for the shard with dedicated infrastructure.- Returns:
- the value
-
getMetadata
public DistributedAutonomousDbMetadata getMetadata()
-
toString
public String toString()
- Overrides:
toStringin classDistributedAutonomousDatabaseShard
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDistributedAutonomousDatabaseShard- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDistributedAutonomousDatabaseShard
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDistributedAutonomousDatabaseShard
-
-