@Stability(value=Stable) public static final class SecretsManagerSecretOptions.Builder extends Object
SecretsManagerSecretOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SecretsManagerSecretOptions |
build()
Builds the configured instance.
|
SecretsManagerSecretOptions.Builder |
jsonField(String jsonField)
Sets the value of JsonField
|
SecretsManagerSecretOptions.Builder |
versionId(String versionId)
Sets the value of VersionId
|
SecretsManagerSecretOptions.Builder |
versionStage(String versionStage)
Sets the value of VersionStage
|
@Stability(value=Stable) public SecretsManagerSecretOptions.Builder jsonField(String jsonField)
jsonField - The key of a JSON field to retrieve.this@Stability(value=Stable) public SecretsManagerSecretOptions.Builder versionId(String versionId)
versionId - Specifies the unique identifier of the version of the secret you want to use.this@Stability(value=Stable) public SecretsManagerSecretOptions.Builder versionStage(String versionStage)
versionStage - Specified the secret version that you want to retrieve by the staging label attached to the version.this@Stability(value=Stable) public SecretsManagerSecretOptions build()
SecretsManagerSecretOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.