@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 |
withJsonField(String value)
Sets the value of JsonField
|
SecretsManagerSecretOptions.Builder |
withVersionId(String value)
Sets the value of VersionId
|
SecretsManagerSecretOptions.Builder |
withVersionStage(String value)
Sets the value of VersionStage
|
@Stability(value=Stable) public SecretsManagerSecretOptions.Builder withJsonField(@Nullable String value)
value - The key of a JSON field to retrieve.this@Stability(value=Stable) public SecretsManagerSecretOptions.Builder withVersionId(@Nullable String value)
value - Specifies the unique identifier of the version of the secret you want to use.this@Stability(value=Stable) public SecretsManagerSecretOptions.Builder withVersionStage(@Nullable String value)
value - 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.