@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() |
CredentialsFromUsernameOptions.Builder |
replicaRegions(List<? extends ReplicaRegion> replicaRegions)
Sets the value of
CredentialsBaseOptions.getReplicaRegions() |
CredentialsFromUsernameOptions.Builder |
secretName(String secretName)
Sets the value of
CredentialsBaseOptions.getSecretName() |
@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.Builder replicaRegions(List<? extends ReplicaRegion> replicaRegions)
CredentialsBaseOptions.getReplicaRegions()replicaRegions - A list of regions where to replicate this secret.this@Stability(value=Stable) public CredentialsFromUsernameOptions.Builder secretName(String secretName)
CredentialsBaseOptions.getSecretName()secretName - The name of the secret.this@Stability(value=Stable) public CredentialsFromUsernameOptions build()
build in interface software.amazon.jsii.Builder<CredentialsFromUsernameOptions>CredentialsFromUsernameOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.