@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMinHealthyPercentage() != null)
            sb.append("MinHealthyPercentage: ").append(getMinHealthyPercentage()).append(",");
        if (getInstanceWarmup() != null)
            sb.append("InstanceWarmup: ").append(getInstanceWarmup()).append(",");
        if (getCheckpointPercentages() != null)
            sb.append("CheckpointPercentages: ").append(getCheckpointPercentages()).append(",");
        if (getCheckpointDelay() != null)
            sb.append("CheckpointDelay: ").append(getCheckpointDelay()).append(",");
        if (getSkipMatching() != null)
            sb.append("SkipMatching: ").append(getSkipMatching()).append(",");
        if (getAutoRollback() != null)
            sb.append("AutoRollback: ").append(getAutoRollback()).append(",");
        if (getScaleInProtectedInstances() != null)
            sb.append("ScaleInProtectedInstances: ").append(getScaleInProtectedInstances()).append(",");
        if (getStandbyInstances() != null)
            sb.append("StandbyInstances: ").append(getStandbyInstances()).append(",");
        if (getAlarmSpecification() != null)
            sb.append("AlarmSpecification: ").append(getAlarmSpecification()).append(",");
        if (getMaxHealthyPercentage() != null)
            sb.append("MaxHealthyPercentage: ").append(getMaxHealthyPercentage());
        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-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/RefreshPreferences.java