@Stability(value=Experimental) public static final class SecretStringGenerator.Builder extends Object implements software.amazon.jsii.Builder<SecretStringGenerator>
SecretStringGenerator| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public SecretStringGenerator.Builder excludeCharacters(String excludeCharacters)
SecretStringGenerator.getExcludeCharacters()excludeCharacters - A string that includes characters that shouldn't be included in the generated password.
The string can be a minimum
of 0 and a maximum of 4096 characters long.this@Stability(value=Experimental) public SecretStringGenerator.Builder excludeLowercase(Boolean excludeLowercase)
SecretStringGenerator.getExcludeLowercase()excludeLowercase - Specifies that the generated password shouldn't include lowercase letters.this@Stability(value=Experimental) public SecretStringGenerator.Builder excludeNumbers(Boolean excludeNumbers)
SecretStringGenerator.getExcludeNumbers()excludeNumbers - Specifies that the generated password shouldn't include digits.this@Stability(value=Experimental) public SecretStringGenerator.Builder excludePunctuation(Boolean excludePunctuation)
SecretStringGenerator.getExcludePunctuation()excludePunctuation - Specifies that the generated password shouldn't include punctuation characters.this@Stability(value=Experimental) public SecretStringGenerator.Builder excludeUppercase(Boolean excludeUppercase)
SecretStringGenerator.getExcludeUppercase()excludeUppercase - Specifies that the generated password shouldn't include uppercase letters.this@Stability(value=Experimental) public SecretStringGenerator.Builder generateStringKey(String generateStringKey)
SecretStringGenerator.getGenerateStringKey()generateStringKey - The JSON key name that's used to add the generated password to the JSON structure specified by the ``secretStringTemplate`` parameter.
If you specify generateStringKey then secretStringTemplate
must be also be specified.this@Stability(value=Experimental) public SecretStringGenerator.Builder includeSpace(Boolean includeSpace)
SecretStringGenerator.getIncludeSpace()includeSpace - Specifies that the generated password can include the space character.this@Stability(value=Experimental) public SecretStringGenerator.Builder passwordLength(Number passwordLength)
SecretStringGenerator.getPasswordLength()passwordLength - The desired length of the generated password.this@Stability(value=Experimental) public SecretStringGenerator.Builder requireEachIncludedType(Boolean requireEachIncludedType)
SecretStringGenerator.getRequireEachIncludedType()requireEachIncludedType - Specifies whether the generated password must include at least one of every allowed character type.this@Stability(value=Experimental) public SecretStringGenerator.Builder secretStringTemplate(String secretStringTemplate)
SecretStringGenerator.getSecretStringTemplate()secretStringTemplate - A properly structured JSON string that the generated password can be added to.
The generateStringKey is
combined with the generated random string and inserted into the JSON structure that's specified by this parameter.
The merged JSON string is returned as the completed SecretString of the secret. If you specify secretStringTemplate
then generateStringKey must be also be specified.this@Stability(value=Experimental) public SecretStringGenerator build()
build in interface software.amazon.jsii.Builder<SecretStringGenerator>SecretStringGeneratorNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.