@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getServiceNamespace() != null)
            sb.append("ServiceNamespace: ").append(getServiceNamespace()).append(",");
        if (getResourceId() != null)
            sb.append("ResourceId: ").append(getResourceId()).append(",");
        if (getScalableDimension() != null)
            sb.append("ScalableDimension: ").append(getScalableDimension()).append(",");
        if (getMinCapacity() != null)
            sb.append("MinCapacity: ").append(getMinCapacity()).append(",");
        if (getMaxCapacity() != null)
            sb.append("MaxCapacity: ").append(getMaxCapacity()).append(",");
        if (getTargetTrackingConfigurations() != null)
            sb.append("TargetTrackingConfigurations: ").append(getTargetTrackingConfigurations()).append(",");
        if (getPredefinedLoadMetricSpecification() != null)
            sb.append("PredefinedLoadMetricSpecification: ").append(getPredefinedLoadMetricSpecification()).append(",");
        if (getCustomizedLoadMetricSpecification() != null)
            sb.append("CustomizedLoadMetricSpecification: ").append(getCustomizedLoadMetricSpecification()).append(",");
        if (getScheduledActionBufferTime() != null)
            sb.append("ScheduledActionBufferTime: ").append(getScheduledActionBufferTime()).append(",");
        if (getPredictiveScalingMaxCapacityBehavior() != null)
            sb.append("PredictiveScalingMaxCapacityBehavior: ").append(getPredictiveScalingMaxCapacityBehavior()).append(",");
        if (getPredictiveScalingMaxCapacityBuffer() != null)
            sb.append("PredictiveScalingMaxCapacityBuffer: ").append(getPredictiveScalingMaxCapacityBuffer()).append(",");
        if (getPredictiveScalingMode() != null)
            sb.append("PredictiveScalingMode: ").append(getPredictiveScalingMode()).append(",");
        if (getScalingPolicyUpdateBehavior() != null)
            sb.append("ScalingPolicyUpdateBehavior: ").append(getScalingPolicyUpdateBehavior()).append(",");
        if (getDisableDynamicScaling() != null)
            sb.append("DisableDynamicScaling: ").append(getDisableDynamicScaling());
        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-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/ScalingInstruction.java