@Stability(value=Stable) 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 |
excludeCharacters(String excludeCharacters)
Sets the value of
DatabaseSecretProps.getExcludeCharacters() |
DatabaseSecretProps.Builder |
masterSecret(ISecret masterSecret)
Sets the value of
DatabaseSecretProps.getMasterSecret() |
DatabaseSecretProps.Builder |
secretName(String secretName)
Sets the value of
DatabaseSecretProps.getSecretName() |
DatabaseSecretProps.Builder |
username(String username)
Sets the value of
DatabaseSecretProps.getUsername() |
@Stability(value=Stable) public DatabaseSecretProps.Builder username(String username)
DatabaseSecretProps.getUsername()username - The username. This parameter is required.this@Stability(value=Stable) public DatabaseSecretProps.Builder encryptionKey(IKey encryptionKey)
DatabaseSecretProps.getEncryptionKey()encryptionKey - The KMS key to use to encrypt the secret.this@Stability(value=Stable) public DatabaseSecretProps.Builder excludeCharacters(String excludeCharacters)
DatabaseSecretProps.getExcludeCharacters()excludeCharacters - Characters to not include in the generated password.this@Stability(value=Stable) public DatabaseSecretProps.Builder masterSecret(ISecret masterSecret)
DatabaseSecretProps.getMasterSecret()masterSecret - The master secret which will be used to rotate this secret.this@Stability(value=Stable) public DatabaseSecretProps.Builder secretName(String secretName)
DatabaseSecretProps.getSecretName()secretName - The physical name of the secret.this@Stability(value=Stable) public DatabaseSecretProps build()
build in interface software.amazon.jsii.Builder<DatabaseSecretProps>DatabaseSecretPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.