Interface GetRandomPasswordRequest.Builder

    • Method Detail

      • passwordLength

        GetRandomPasswordRequest.Builder passwordLength​(Long 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

        GetRandomPasswordRequest.Builder excludeCharacters​(String 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

        GetRandomPasswordRequest.Builder excludeNumbers​(Boolean 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

        GetRandomPasswordRequest.Builder excludePunctuation​(Boolean 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

        GetRandomPasswordRequest.Builder excludeUppercase​(Boolean 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

        GetRandomPasswordRequest.Builder excludeLowercase​(Boolean 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

        GetRandomPasswordRequest.Builder includeSpace​(Boolean 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

        GetRandomPasswordRequest.Builder requireEachIncludedType​(Boolean 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.