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
public static class GetSecretBundle.Response extends OciResponseParser
Response object parsed from JSON returned by theRestApi
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Instant>
expirationTime()
An optional property indicating when the secret version will expire.Map<String,String>
metadata()
Customer-provided contextual metadata for the secret.Optional<byte[]>
secretBytes()
The content of the secrets, as bytes.String
secretId()
The OCID of the secret.Optional<String>
secretString()
The content of the secrets as a string.List<SecretStage>
stages()
A list of possible rotation states for the secret version.Optional<Instant>
timeCreated()
The time when the secret bundle was created.Optional<Instant>
timeDeleted()
The time the secret would be deleted.Optional<String>
versionName()
The name of the secret version.int
versionNumber()
The version number of the secret.-
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
-
metadata
public Map<String,String> metadata()
Customer-provided contextual metadata for the secret.- Returns:
- metadata
-
secretId
public String secretId()
The OCID of the secret.- Returns:
- secret OCID
-
stages
public List<SecretStage> stages()
A list of possible rotation states for the secret version.- Returns:
- stages
-
timeCreated
public Optional<Instant> timeCreated()
The time when the secret bundle was created.- Returns:
- time of creation
-
timeDeleted
public Optional<Instant> timeDeleted()
The time the secret would be deleted.- Returns:
- time of deletion
-
expirationTime
public Optional<Instant> expirationTime()
An optional property indicating when the secret version will expire.- Returns:
- expiration time
-
versionName
public Optional<String> 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
public Optional<byte[]> secretBytes()
The content of the secrets, as bytes.- Returns:
- byte value if present
-
-