@Override
    public int hashCode() {
        final int prime = 31;
        int hashCode = 1;

        hashCode = prime * hashCode + ((getServiceNamespace() == null) ? 0 : getServiceNamespace().hashCode());
        hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode());
        hashCode = prime * hashCode + ((getScalableDimension() == null) ? 0 : getScalableDimension().hashCode());
        hashCode = prime * hashCode + ((getMinCapacity() == null) ? 0 : getMinCapacity().hashCode());
        hashCode = prime * hashCode + ((getMaxCapacity() == null) ? 0 : getMaxCapacity().hashCode());
        hashCode = prime * hashCode + ((getTargetTrackingConfigurations() == null) ? 0 : getTargetTrackingConfigurations().hashCode());
        hashCode = prime * hashCode + ((getPredefinedLoadMetricSpecification() == null) ? 0 : getPredefinedLoadMetricSpecification().hashCode());
        hashCode = prime * hashCode + ((getCustomizedLoadMetricSpecification() == null) ? 0 : getCustomizedLoadMetricSpecification().hashCode());
        hashCode = prime * hashCode + ((getScheduledActionBufferTime() == null) ? 0 : getScheduledActionBufferTime().hashCode());
        hashCode = prime * hashCode + ((getPredictiveScalingMaxCapacityBehavior() == null) ? 0 : getPredictiveScalingMaxCapacityBehavior().hashCode());
        hashCode = prime * hashCode + ((getPredictiveScalingMaxCapacityBuffer() == null) ? 0 : getPredictiveScalingMaxCapacityBuffer().hashCode());
        hashCode = prime * hashCode + ((getPredictiveScalingMode() == null) ? 0 : getPredictiveScalingMode().hashCode());
        hashCode = prime * hashCode + ((getScalingPolicyUpdateBehavior() == null) ? 0 : getScalingPolicyUpdateBehavior().hashCode());
        hashCode = prime * hashCode + ((getDisableDynamicScaling() == null) ? 0 : getDisableDynamicScaling().hashCode());
        return hashCode;
    }
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