@Stability(value=Stable) public static final class SecretValue.Builder extends Object implements software.amazon.jsii.Builder<SecretValue>
SecretValue| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SecretValue |
build()
Builds the configured instance.
|
SecretValue.Builder |
key(String key)
Sets the value of
SecretValue.getKey() |
SecretValue.Builder |
secret(ISecret secret)
Sets the value of
SecretValue.getSecret() |
@Stability(value=Stable) public SecretValue.Builder key(String key)
SecretValue.getKey()key - The JSON key. This parameter is required.this@Stability(value=Stable) public SecretValue.Builder secret(ISecret secret)
SecretValue.getSecret()secret - The secret. This parameter is required.this@Stability(value=Stable) public SecretValue build()
build in interface software.amazon.jsii.Builder<SecretValue>SecretValueNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.