Interface GetRandomPasswordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetRandomPasswordRequest.Builder,
,GetRandomPasswordRequest> SdkBuilder<GetRandomPasswordRequest.Builder,
,GetRandomPasswordRequest> SdkPojo
,SdkRequest.Builder
,SecretsManagerRequest.Builder
- Enclosing class:
GetRandomPasswordRequest
-
Method Summary
Modifier and TypeMethodDescriptionexcludeCharacters
(String excludeCharacters) A string of the characters that you don't want in the password.excludeLowercase
(Boolean excludeLowercase) Specifies whether to exclude lowercase letters from the password.excludeNumbers
(Boolean excludeNumbers) Specifies whether to exclude numbers from the password.excludePunctuation
(Boolean excludePunctuation) Specifies whether to exclude the following punctuation characters from the password:! " # $ % & ' ( ) * + , - .
excludeUppercase
(Boolean excludeUppercase) Specifies whether to exclude uppercase letters from the password.includeSpace
(Boolean includeSpace) Specifies whether to include the space character.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.passwordLength
(Long passwordLength) The length of the password.requireEachIncludedType
(Boolean requireEachIncludedType) Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerRequest.Builder
build
-
Method Details
-
passwordLength
The length of the password. If you don't include this parameter, the default length is 32 characters.
- Parameters:
passwordLength
- The length of the password. If you don't include this parameter, the default length is 32 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeCharacters
A string of the characters that you don't want in the password.
- Parameters:
excludeCharacters
- A string of the characters that you don't want in the password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeNumbers
Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
- Parameters:
excludeNumbers
- Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludePunctuation
Specifies whether to exclude the following punctuation characters from the password:
! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
. If you don't include this switch, the password can contain punctuation.- Parameters:
excludePunctuation
- Specifies whether to exclude the following punctuation characters from the password:! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
. If you don't include this switch, the password can contain punctuation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeUppercase
Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
- Parameters:
excludeUppercase
- Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludeLowercase
Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
- Parameters:
excludeLowercase
- Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeSpace
Specifies whether to include the space character. If you include this switch, the password can contain space characters.
- Parameters:
includeSpace
- Specifies whether to include the space character. If you include this switch, the password can contain space characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requireEachIncludedType
Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.
- Parameters:
requireEachIncludedType
- Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRandomPasswordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRandomPasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-