Class DistributedDatabaseShardDatabaseWithDbHome
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseShardDatabase
-
- com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseShardDatabaseWithDbHome
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20260101") public final class DistributedDatabaseShardDatabaseWithDbHome extends DistributedDatabaseShardDatabaseDetails of a distributed database shard using a pre-existing Database Home.
Note: Objects should always be created or deserialized using theDistributedDatabaseShardDatabaseWithDbHome.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 theDistributedDatabaseShardDatabaseWithDbHome.Builder, which maintain a set of all explicitly set fields calledDistributedDatabaseShardDatabaseWithDbHome.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 classDistributedDatabaseShardDatabaseWithDbHome.Builderstatic classDistributedDatabaseShardDatabaseWithDbHome.StatusStatus of distributed database shard.-
Nested classes/interfaces inherited from class com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseShardDatabase
DistributedDatabaseShardDatabase.Source
-
-
Constructor Summary
Constructors Constructor Description DistributedDatabaseShardDatabaseWithDbHome(String name, Date timeCreated, Date timeUpdated, DistributedDbMetadata metadata, String dbHomeId, String vmClusterId, DistributedDatabaseShardDatabaseWithDbHome.Status status, String supportingResourceId, String containerDatabaseId, String vaultId, String kmsKeyId, String kmsKeyVersionId, DistributedDbProtectionMode protectionMode, DistributedDbTransportType transportType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributedDatabaseShardDatabaseWithDbHome.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetContainerDatabaseId()the identifier of the container database for underlying supporting resource.StringgetDbHomeId()The OCID of the Database Home.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.DistributedDbProtectionModegetProtectionMode()The protection mode used for the Data Guard association.DistributedDatabaseShardDatabaseWithDbHome.StatusgetStatus()Status of distributed database shard.StringgetSupportingResourceId()the identifier of the underlying supporting resource.DistributedDbTransportTypegetTransportType()The transport type used for the Data Guard association.StringgetVaultId()StringgetVmClusterId()The OCID of the VmCluster.inthashCode()DistributedDatabaseShardDatabaseWithDbHome.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.distributeddatabasev26.model.DistributedDatabaseShardDatabase
getMetadata, getName, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
DistributedDatabaseShardDatabaseWithDbHome
@Deprecated public DistributedDatabaseShardDatabaseWithDbHome(String name, Date timeCreated, Date timeUpdated, DistributedDbMetadata metadata, String dbHomeId, String vmClusterId, DistributedDatabaseShardDatabaseWithDbHome.Status status, String supportingResourceId, String containerDatabaseId, String vaultId, String kmsKeyId, String kmsKeyVersionId, DistributedDbProtectionMode protectionMode, DistributedDbTransportType transportType)
Deprecated.
-
-
Method Detail
-
builder
public static DistributedDatabaseShardDatabaseWithDbHome.Builder builder()
Create a new builder.
-
toBuilder
public DistributedDatabaseShardDatabaseWithDbHome.Builder toBuilder()
-
getStatus
public DistributedDatabaseShardDatabaseWithDbHome.Status getStatus()
Status of distributed database shard.- 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
-
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
-
getProtectionMode
public DistributedDbProtectionMode getProtectionMode()
The protection mode used for the Data Guard association.- Returns:
- the value
-
getTransportType
public DistributedDbTransportType getTransportType()
The transport type used for the Data Guard association.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDistributedDatabaseShardDatabase
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDistributedDatabaseShardDatabase- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDistributedDatabaseShardDatabase
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDistributedDatabaseShardDatabase
-
-