@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMetricSpecifications() != null)
            sb.append("MetricSpecifications: ").append(getMetricSpecifications()).append(",");
        if (getMode() != null)
            sb.append("Mode: ").append(getMode()).append(",");
        if (getSchedulingBufferTime() != null)
            sb.append("SchedulingBufferTime: ").append(getSchedulingBufferTime()).append(",");
        if (getMaxCapacityBreachBehavior() != null)
            sb.append("MaxCapacityBreachBehavior: ").append(getMaxCapacityBreachBehavior()).append(",");
        if (getMaxCapacityBuffer() != null)
            sb.append("MaxCapacityBuffer: ").append(getMaxCapacityBuffer());
        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/PredictiveScalingConfiguration.java