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