@Stability(value=Experimental) public static final class DatabaseSecretProps.Builder extends Object implements software.amazon.jsii.Builder<DatabaseSecretProps>
DatabaseSecretProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseSecretProps |
build()
Builds the configured instance.
|
DatabaseSecretProps.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
DatabaseSecretProps.getEncryptionKey() |
DatabaseSecretProps.Builder |
username(String username)
Sets the value of
DatabaseSecretProps.getUsername() |
@Stability(value=Experimental) public DatabaseSecretProps.Builder username(String username)
DatabaseSecretProps.getUsername()username - The username. This parameter is required.this@Stability(value=Experimental) public DatabaseSecretProps.Builder encryptionKey(IKey encryptionKey)
DatabaseSecretProps.getEncryptionKey()encryptionKey - The KMS key to use to encrypt the secret.this@Stability(value=Experimental) public DatabaseSecretProps build()
build in interface software.amazon.jsii.Builder<DatabaseSecretProps>DatabaseSecretPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.