Class GetKey.Response
- java.lang.Object
-
- io.helidon.integrations.common.rest.ApiJsonParser
-
- io.helidon.integrations.oci.connect.OciResponseParser
-
- io.helidon.integrations.oci.vault.GetKey.Response
-
- Enclosing class:
- GetKey
public static class GetKey.Response extends OciResponseParser
Response object parsed from JSON returned by theRestApi
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compartmentId()
The OCID of the compartment that contains this master encryption key.Instant
created()
The date and time the key was created.String
currentKeyVersionId()
The OCID of the key version used in cryptographic operations.String
displayName()
A user-friendly name for the key.String
keyId()
Key OCID.String
lifecycleState()
The key's current lifecycle state.String
vaultId()
The OCID of the vault that contains this key.-
Methods inherited from class io.helidon.integrations.oci.connect.OciResponseParser
getInstant, toInstant
-
Methods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
-
-
-
Method Detail
-
keyId
public String keyId()
Key OCID.- Returns:
- key OCID
-
currentKeyVersionId
public String currentKeyVersionId()
The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The currentKeyVersion property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations.- Returns:
- current key version ID
-
compartmentId
public String compartmentId()
The OCID of the compartment that contains this master encryption key.- Returns:
- compartment ID
-
displayName
public String displayName()
A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.- Returns:
- display name
-
lifecycleState
public String lifecycleState()
The key's current lifecycle state.- Returns:
- lifecycle state
-
created
public Instant created()
The date and time the key was created.- Returns:
- created instant
-
vaultId
public String vaultId()
The OCID of the vault that contains this key.- Returns:
- Vault ID
-
-