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

        if (obj instanceof PredictiveScalingConfiguration == false)
            return false;
        PredictiveScalingConfiguration other = (PredictiveScalingConfiguration) obj;
        if (other.getMetricSpecifications() == null ^ this.getMetricSpecifications() == null)
            return false;
        if (other.getMetricSpecifications() != null && other.getMetricSpecifications().equals(this.getMetricSpecifications()) == false)
            return false;
        if (other.getMode() == null ^ this.getMode() == null)
            return false;
        if (other.getMode() != null && other.getMode().equals(this.getMode()) == false)
            return false;
        if (other.getSchedulingBufferTime() == null ^ this.getSchedulingBufferTime() == null)
            return false;
        if (other.getSchedulingBufferTime() != null && other.getSchedulingBufferTime().equals(this.getSchedulingBufferTime()) == false)
            return false;
        if (other.getMaxCapacityBreachBehavior() == null ^ this.getMaxCapacityBreachBehavior() == null)
            return false;
        if (other.getMaxCapacityBreachBehavior() != null && other.getMaxCapacityBreachBehavior().equals(this.getMaxCapacityBreachBehavior()) == false)
            return false;
        if (other.getMaxCapacityBuffer() == null ^ this.getMaxCapacityBuffer() == null)
            return false;
        if (other.getMaxCapacityBuffer() != null && other.getMaxCapacityBuffer().equals(this.getMaxCapacityBuffer()) == 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/PredictiveScalingConfiguration.java