@Stability(value=Experimental) public static final class CredentialsBaseOptions.Builder extends Object implements software.amazon.jsii.Builder<CredentialsBaseOptions>
CredentialsBaseOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CredentialsBaseOptions |
build()
Builds the configured instance.
|
CredentialsBaseOptions.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
CredentialsBaseOptions.getEncryptionKey() |
CredentialsBaseOptions.Builder |
excludeCharacters(String excludeCharacters)
Sets the value of
CredentialsBaseOptions.getExcludeCharacters() |
CredentialsBaseOptions.Builder |
secretName(String secretName)
Sets the value of
CredentialsBaseOptions.getSecretName() |
@Stability(value=Experimental) public CredentialsBaseOptions.Builder encryptionKey(IKey encryptionKey)
CredentialsBaseOptions.getEncryptionKey()encryptionKey - KMS encryption key to encrypt the generated secret.this@Stability(value=Experimental) public CredentialsBaseOptions.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=Experimental) public CredentialsBaseOptions.Builder secretName(String secretName)
CredentialsBaseOptions.getSecretName()secretName - The name of the secret.this@Stability(value=Experimental) public CredentialsBaseOptions build()
build in interface software.amazon.jsii.Builder<CredentialsBaseOptions>CredentialsBaseOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.