@Stability(value=Experimental) public static final class SecretsManagerSecretOptions.Builder extends Object implements software.amazon.jsii.Builder<SecretsManagerSecretOptions>
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
SecretsManagerSecretOptions.getJsonField() |
SecretsManagerSecretOptions.Builder |
versionId(String versionId)
Sets the value of
SecretsManagerSecretOptions.getVersionId() |
SecretsManagerSecretOptions.Builder |
versionStage(String versionStage)
Sets the value of
SecretsManagerSecretOptions.getVersionStage() |
@Stability(value=Experimental) public SecretsManagerSecretOptions.Builder jsonField(String jsonField)
SecretsManagerSecretOptions.getJsonField()jsonField - The key of a JSON field to retrieve.
This can only be used if the secret
stores a JSON object.this@Stability(value=Experimental) public SecretsManagerSecretOptions.Builder versionId(String versionId)
SecretsManagerSecretOptions.getVersionId()versionId - Specifies the unique identifier of the version of the secret you want to use.
Can specify at most one of versionId and versionStage.this@Stability(value=Experimental) public SecretsManagerSecretOptions.Builder versionStage(String versionStage)
SecretsManagerSecretOptions.getVersionStage()versionStage - Specified the secret version that you want to retrieve by the staging label attached to the version.
Can specify at most one of versionId and versionStage.this@Stability(value=Experimental) public SecretsManagerSecretOptions build()
build in interface software.amazon.jsii.Builder<SecretsManagerSecretOptions>SecretsManagerSecretOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.