Enclosing class:
GetKey

public static class GetKey.Response extends OciResponseParser
Response object parsed from JSON returned by the RestApi.
  • Method Details

    • 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