@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class OciKeyDetails extends AutonomousDatabaseEncryptionKeyDetails
Details for OCI encryption key.
Note: Objects should always be created or deserialized using the OciKeyDetails.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 OciKeyDetails.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OciKeyDetails.Builder |
AutonomousDatabaseEncryptionKeyDetails.Provider
Constructor and Description |
---|
OciKeyDetails(String kmsKeyId,
String vaultId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OciKeyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
|
String |
getVaultId()
|
int |
hashCode() |
OciKeyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OciKeyDetails(String kmsKeyId, String vaultId)
public static OciKeyDetails.Builder builder()
Create a new builder.
public OciKeyDetails.Builder toBuilder()
public String getKmsKeyId()
The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
public String getVaultId()
The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId
are required for Customer Managed Keys.
public String toString()
toString
in class AutonomousDatabaseEncryptionKeyDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class AutonomousDatabaseEncryptionKeyDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class AutonomousDatabaseEncryptionKeyDetails
public int hashCode()
hashCode
in class AutonomousDatabaseEncryptionKeyDetails
Copyright © 2016–2024. All rights reserved.