@Stability(value=Experimental) public static final class SecretAttributes.Builder extends Object implements software.amazon.jsii.Builder<SecretAttributes>
SecretAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SecretAttributes |
build()
Builds the configured instance.
|
SecretAttributes.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
SecretAttributes.getEncryptionKey() |
SecretAttributes.Builder |
secretCompleteArn(String secretCompleteArn)
Sets the value of
SecretAttributes.getSecretCompleteArn() |
SecretAttributes.Builder |
secretPartialArn(String secretPartialArn)
Sets the value of
SecretAttributes.getSecretPartialArn() |
@Stability(value=Experimental) public SecretAttributes.Builder encryptionKey(IKey encryptionKey)
SecretAttributes.getEncryptionKey()encryptionKey - The encryption key that is used to encrypt the secret, unless the default SecretsManager key is used.this@Stability(value=Experimental) public SecretAttributes.Builder secretCompleteArn(String secretCompleteArn)
SecretAttributes.getSecretCompleteArn()secretCompleteArn - The complete ARN of the secret in SecretsManager.
This is the ARN including the Secrets Manager 6-character suffix.
Cannot be used with secretArn or secretPartialArn.this@Stability(value=Experimental) public SecretAttributes.Builder secretPartialArn(String secretPartialArn)
SecretAttributes.getSecretPartialArn()secretPartialArn - The partial ARN of the secret in SecretsManager.
This is the ARN without the Secrets Manager 6-character suffix.
Cannot be used with secretArn or secretCompleteArn.this@Stability(value=Experimental) public SecretAttributes build()
build in interface software.amazon.jsii.Builder<SecretAttributes>SecretAttributesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.