Class GetRandomPasswordRequest

    • Method Detail

      • passwordLength

        public final Long passwordLength()

        The length of the password. If you don't include this parameter, the default length is 32 characters.

        Returns:
        The length of the password. If you don't include this parameter, the default length is 32 characters.
      • excludeCharacters

        public final String excludeCharacters()

        A string of the characters that you don't want in the password.

        Returns:
        A string of the characters that you don't want in the password.
      • excludeNumbers

        public final Boolean excludeNumbers()

        Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.

        Returns:
        Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
      • excludePunctuation

        public final 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.

        Returns:
        Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. If you don't include this switch, the password can contain punctuation.
      • excludeUppercase

        public final Boolean excludeUppercase()

        Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.

        Returns:
        Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
      • excludeLowercase

        public final Boolean excludeLowercase()

        Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.

        Returns:
        Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
      • includeSpace

        public final Boolean includeSpace()

        Specifies whether to include the space character. If you include this switch, the password can contain space characters.

        Returns:
        Specifies whether to include the space character. If you include this switch, the password can contain space characters.
      • requireEachIncludedType

        public final 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.

        Returns:
        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.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object