Class RandomPasswordOptions.Builder
java.lang.Object
codes.grow.packages.awssecretsmanager.RandomPasswordOptions.Builder
- Enclosing class:
RandomPasswordOptions
Builder of
RandomPasswordOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.excludeCharacters(String excludeCharacters) Sets characters that must not appear.excludeLowercase(Boolean excludeLowercase) Sets whether lowercase letters are excluded.excludeNumbers(Boolean excludeNumbers) Sets whether digits are excluded.excludePunctuation(Boolean excludePunctuation) Sets whether punctuation is excluded.excludeUppercase(Boolean excludeUppercase) Sets whether uppercase letters are excluded.includeSpace(Boolean includeSpace) Sets whether the space character may appear.Sets password length 1–4096 (default 32).requireEachIncludedType(Boolean requireEachIncludedType) Sets whether at least one character of every included type is required (AWS default true).
-
Method Details
-
length
Sets password length 1–4096 (default 32).- Parameters:
length- the value- Returns:
- this builder
-
excludeCharacters
Sets characters that must not appear.- Parameters:
excludeCharacters- the value- Returns:
- this builder
-
excludeNumbers
Sets whether digits are excluded.- Parameters:
excludeNumbers- the value- Returns:
- this builder
-
excludePunctuation
Sets whether punctuation is excluded.- Parameters:
excludePunctuation- the value- Returns:
- this builder
-
excludeUppercase
Sets whether uppercase letters are excluded.- Parameters:
excludeUppercase- the value- Returns:
- this builder
-
excludeLowercase
Sets whether lowercase letters are excluded.- Parameters:
excludeLowercase- the value- Returns:
- this builder
-
includeSpace
Sets whether the space character may appear.- Parameters:
includeSpace- the value- Returns:
- this builder
-
requireEachIncludedType
Sets whether at least one character of every included type is required (AWS default true).- Parameters:
requireEachIncludedType- the value- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-