@Stability(value=Stable) public static final class CredentialsFromUsernameOptions.Builder extends Object implements software.amazon.jsii.Builder<CredentialsFromUsernameOptions>
CredentialsFromUsernameOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CredentialsFromUsernameOptions |
build()
Builds the configured instance.
|
CredentialsFromUsernameOptions.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
CredentialsBaseOptions.getEncryptionKey() |
CredentialsFromUsernameOptions.Builder |
excludeCharacters(String excludeCharacters)
Sets the value of
CredentialsBaseOptions.getExcludeCharacters() |
CredentialsFromUsernameOptions.Builder |
password(SecretValue password)
Sets the value of
CredentialsFromUsernameOptions.getPassword() |
@Stability(value=Stable) public CredentialsFromUsernameOptions.Builder password(SecretValue password)
CredentialsFromUsernameOptions.getPassword()password - Password.
Do not put passwords in your CDK code directly.this@Stability(value=Stable) public CredentialsFromUsernameOptions.Builder encryptionKey(IKey encryptionKey)
CredentialsBaseOptions.getEncryptionKey()encryptionKey - KMS encryption key to encrypt the generated secret.this@Stability(value=Stable) public CredentialsFromUsernameOptions.Builder excludeCharacters(String excludeCharacters)
CredentialsBaseOptions.getExcludeCharacters()excludeCharacters - The characters to exclude from the generated password.
Has no effect if {@link password} has been provided.this@Stability(value=Stable) public CredentialsFromUsernameOptions build()
build in interface software.amazon.jsii.Builder<CredentialsFromUsernameOptions>CredentialsFromUsernameOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.