Class GetSecretBundle.Response
java.lang.Object
io.helidon.integrations.common.rest.ApiJsonParser
io.helidon.integrations.oci.connect.OciResponseParser
io.helidon.integrations.oci.vault.GetSecretBundle.Response
- Enclosing class:
- GetSecretBundle
Response object parsed from JSON returned by the
RestApi.-
Method Summary
Modifier and TypeMethodDescriptionAn optional property indicating when the secret version will expire.metadata()Customer-provided contextual metadata for the secret.Optional<byte[]>The content of the secrets, as bytes.secretId()The OCID of the secret.The content of the secrets as a string.stages()A list of possible rotation states for the secret version.The time when the secret bundle was created.The time the secret would be deleted.The name of the secret version.intThe version number of the secret.Methods inherited from class io.helidon.integrations.oci.connect.OciResponseParser
getInstant, toInstantMethods inherited from class io.helidon.integrations.common.rest.ApiJsonParser
isPresent, stringValue, toBoolean, toBytesBase64, toDouble, toInstant, toInt, toList, toLong, toMap, toObject, toString
-
Method Details
-
metadata
Customer-provided contextual metadata for the secret.- Returns:
- metadata
-
secretId
The OCID of the secret.- Returns:
- secret OCID
-
stages
A list of possible rotation states for the secret version.- Returns:
- stages
-
timeCreated
The time when the secret bundle was created.- Returns:
- time of creation
-
timeDeleted
The time the secret would be deleted.- Returns:
- time of deletion
-
expirationTime
An optional property indicating when the secret version will expire.- Returns:
- expiration time
-
versionName
The name of the secret version. Labels are unique across the different versions of a particular secret.- Returns:
- version name
-
versionNumber
public int versionNumber()The version number of the secret.- Returns:
- version number
-
secretBytes
The content of the secrets, as bytes.- Returns:
- byte value if present
-
secretString
The content of the secrets as a string. This method will attempt to create a string from the provided bytes using UTF-8 encoding.- Returns:
- string value if present
-