@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof RefreshPreferences == false)
            return false;
        RefreshPreferences other = (RefreshPreferences) obj;
        if (other.getMinHealthyPercentage() == null ^ this.getMinHealthyPercentage() == null)
            return false;
        if (other.getMinHealthyPercentage() != null && other.getMinHealthyPercentage().equals(this.getMinHealthyPercentage()) == false)
            return false;
        if (other.getInstanceWarmup() == null ^ this.getInstanceWarmup() == null)
            return false;
        if (other.getInstanceWarmup() != null && other.getInstanceWarmup().equals(this.getInstanceWarmup()) == false)
            return false;
        if (other.getCheckpointPercentages() == null ^ this.getCheckpointPercentages() == null)
            return false;
        if (other.getCheckpointPercentages() != null && other.getCheckpointPercentages().equals(this.getCheckpointPercentages()) == false)
            return false;
        if (other.getCheckpointDelay() == null ^ this.getCheckpointDelay() == null)
            return false;
        if (other.getCheckpointDelay() != null && other.getCheckpointDelay().equals(this.getCheckpointDelay()) == false)
            return false;
        if (other.getSkipMatching() == null ^ this.getSkipMatching() == null)
            return false;
        if (other.getSkipMatching() != null && other.getSkipMatching().equals(this.getSkipMatching()) == false)
            return false;
        if (other.getAutoRollback() == null ^ this.getAutoRollback() == null)
            return false;
        if (other.getAutoRollback() != null && other.getAutoRollback().equals(this.getAutoRollback()) == false)
            return false;
        if (other.getScaleInProtectedInstances() == null ^ this.getScaleInProtectedInstances() == null)
            return false;
        if (other.getScaleInProtectedInstances() != null && other.getScaleInProtectedInstances().equals(this.getScaleInProtectedInstances()) == false)
            return false;
        if (other.getStandbyInstances() == null ^ this.getStandbyInstances() == null)
            return false;
        if (other.getStandbyInstances() != null && other.getStandbyInstances().equals(this.getStandbyInstances()) == false)
            return false;
        if (other.getAlarmSpecification() == null ^ this.getAlarmSpecification() == null)
            return false;
        if (other.getAlarmSpecification() != null && other.getAlarmSpecification().equals(this.getAlarmSpecification()) == false)
            return false;
        if (other.getMaxHealthyPercentage() == null ^ this.getMaxHealthyPercentage() == null)
            return false;
        if (other.getMaxHealthyPercentage() != null && other.getMaxHealthyPercentage().equals(this.getMaxHealthyPercentage()) == false)
            return false;
        return true;
    }
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-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/RefreshPreferences.java