@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMinimumPasswordLength() != null)
            sb.append("MinimumPasswordLength: ").append(getMinimumPasswordLength()).append(",");
        if (getRequireSymbols() != null)
            sb.append("RequireSymbols: ").append(getRequireSymbols()).append(",");
        if (getRequireNumbers() != null)
            sb.append("RequireNumbers: ").append(getRequireNumbers()).append(",");
        if (getRequireUppercaseCharacters() != null)
            sb.append("RequireUppercaseCharacters: ").append(getRequireUppercaseCharacters()).append(",");
        if (getRequireLowercaseCharacters() != null)
            sb.append("RequireLowercaseCharacters: ").append(getRequireLowercaseCharacters()).append(",");
        if (getAllowUsersToChangePassword() != null)
            sb.append("AllowUsersToChangePassword: ").append(getAllowUsersToChangePassword()).append(",");
        if (getMaxPasswordAge() != null)
            sb.append("MaxPasswordAge: ").append(getMaxPasswordAge()).append(",");
        if (getPasswordReusePrevention() != null)
            sb.append("PasswordReusePrevention: ").append(getPasswordReusePrevention()).append(",");
        if (getHardExpiry() != null)
            sb.append("HardExpiry: ").append(getHardExpiry());
        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-iam/src/main/java/com/amazonaws/services/identitymanagement/model/UpdateAccountPasswordPolicyRequest.java