@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class KmsKeyInfo extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
kmsKeyInfo
Note: Objects should always be created or deserialized using the KmsKeyInfo.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 KmsKeyInfo.Builder
, which maintain a
set of all explicitly set fields called KmsKeyInfo.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
).
Modifier and Type | Class and Description |
---|---|
static class |
KmsKeyInfo.Builder |
static class |
KmsKeyInfo.ScheduledKeyStatus
the scheduled key status
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
KmsKeyInfo(String activeKeyId,
String activeKeyVersion,
String scheduledKeyId,
String scheduledKeyVersion,
String currentKeyLifecycleState,
String scheduledLifecycleState,
KmsKeyInfo.ScheduledKeyStatus scheduledKeyStatus)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static KmsKeyInfo.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getActiveKeyId()
current BYOK keyId facp is using
|
String |
getActiveKeyVersion()
current key version facp is using
|
String |
getCurrentKeyLifecycleState()
current key lifeCycleState
|
String |
getScheduledKeyId()
scheduled keyId to be updated
|
KmsKeyInfo.ScheduledKeyStatus |
getScheduledKeyStatus()
the scheduled key status
|
String |
getScheduledKeyVersion()
scheduled key version to be updated.
|
String |
getScheduledLifecycleState()
scheduled key lifeCycle state to be updated.
|
int |
hashCode() |
KmsKeyInfo.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"activeKeyId","activeKeyVersion","scheduledKeyId","scheduledKeyVersion","currentKeyLifecycleState","scheduledLifecycleState","scheduledKeyStatus"}) public KmsKeyInfo(String activeKeyId, String activeKeyVersion, String scheduledKeyId, String scheduledKeyVersion, String currentKeyLifecycleState, String scheduledLifecycleState, KmsKeyInfo.ScheduledKeyStatus scheduledKeyStatus)
public static KmsKeyInfo.Builder builder()
Create a new builder.
public KmsKeyInfo.Builder toBuilder()
public String getActiveKeyId()
current BYOK keyId facp is using
public String getActiveKeyVersion()
current key version facp is using
public String getScheduledKeyId()
scheduled keyId to be updated
public String getScheduledKeyVersion()
scheduled key version to be updated.
public String getCurrentKeyLifecycleState()
current key lifeCycleState
public String getScheduledLifecycleState()
scheduled key lifeCycle state to be updated.
public KmsKeyInfo.ScheduledKeyStatus getScheduledKeyStatus()
the scheduled key status
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.