@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getPasswordLength() != null)
            sb.append("PasswordLength: ").append(getPasswordLength()).append(",");
        if (getExcludeCharacters() != null)
            sb.append("ExcludeCharacters: ").append(getExcludeCharacters()).append(",");
        if (getExcludeNumbers() != null)
            sb.append("ExcludeNumbers: ").append(getExcludeNumbers()).append(",");
        if (getExcludePunctuation() != null)
            sb.append("ExcludePunctuation: ").append(getExcludePunctuation()).append(",");
        if (getExcludeUppercase() != null)
            sb.append("ExcludeUppercase: ").append(getExcludeUppercase()).append(",");
        if (getExcludeLowercase() != null)
            sb.append("ExcludeLowercase: ").append(getExcludeLowercase()).append(",");
        if (getIncludeSpace() != null)
            sb.append("IncludeSpace: ").append(getIncludeSpace()).append(",");
        if (getRequireEachIncludedType() != null)
            sb.append("RequireEachIncludedType: ").append(getRequireEachIncludedType());
        sb.append("}");
        return sb.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.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-secretsmanager/src/main/java/com/amazonaws/services/secretsmanager/model/GetRandomPasswordRequest.java