public static class SecretBundle.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SecretBundle |
build() |
SecretBundle.Builder |
copy(SecretBundle model) |
SecretBundle.Builder |
metadata(Map<String,Object> metadata)
Customer-provided contextual metadata for the secret.
|
SecretBundle.Builder |
secretBundleContent(SecretBundleContentDetails secretBundleContent) |
SecretBundle.Builder |
secretId(String secretId)
The OCID of the secret.
|
SecretBundle.Builder |
stages(List<SecretBundle.Stages> stages)
A list of possible rotation states for the secret version.
|
SecretBundle.Builder |
timeCreated(Date timeCreated)
The time when the secret bundle was created.
|
SecretBundle.Builder |
timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the secret version, expressed in RFC
3339 timestamp format.
|
SecretBundle.Builder |
timeOfExpiry(Date timeOfExpiry)
An optional property indicating when the secret version will expire, expressed in RFC
3339 timestamp format.
|
SecretBundle.Builder |
versionName(String versionName)
The name of the secret version.
|
SecretBundle.Builder |
versionNumber(Long versionNumber)
The version number of the secret.
|
public SecretBundle.Builder secretId(String secretId)
The OCID of the secret.
secretId
- the value to setpublic SecretBundle.Builder timeCreated(Date timeCreated)
The time when the secret bundle was created.
timeCreated
- the value to setpublic SecretBundle.Builder versionNumber(Long versionNumber)
The version number of the secret.
versionNumber
- the value to setpublic SecretBundle.Builder versionName(String versionName)
The name of the secret version. Labels are unique across the different versions of a particular secret.
versionName
- the value to setpublic SecretBundle.Builder secretBundleContent(SecretBundleContentDetails secretBundleContent)
public SecretBundle.Builder timeOfDeletion(Date timeOfDeletion)
An optional property indicating when to delete the secret version, expressed in RFC
3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
timeOfDeletion
- the value to setpublic SecretBundle.Builder timeOfExpiry(Date timeOfExpiry)
An optional property indicating when the secret version will expire, expressed in RFC
3339 timestamp format. Example: 2019-04-03T21:10:29.600Z
timeOfExpiry
- the value to setpublic SecretBundle.Builder stages(List<SecretBundle.Stages> stages)
A list of possible rotation states for the secret version.
stages
- the value to setpublic SecretBundle.Builder metadata(Map<String,Object> metadata)
Customer-provided contextual metadata for the secret.
metadata
- the value to setpublic SecretBundle build()
public SecretBundle.Builder copy(SecretBundle model)
Copyright © 2016–2024. All rights reserved.