@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getUserId() != null)
            sb.append("UserId: ").append(getUserId()).append(",");
        if (getAccessString() != null)
            sb.append("AccessString: ").append(getAccessString()).append(",");
        if (getAppendAccessString() != null)
            sb.append("AppendAccessString: ").append(getAppendAccessString()).append(",");
        if (getPasswords() != null)
            sb.append("Passwords: ").append(getPasswords()).append(",");
        if (getNoPasswordRequired() != null)
            sb.append("NoPasswordRequired: ").append(getNoPasswordRequired()).append(",");
        if (getAuthenticationMode() != null)
            sb.append("AuthenticationMode: ").append(getAuthenticationMode());
        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-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ModifyUserRequest.java