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

        if (obj instanceof Ec2AutoScalingGroup == false)
            return false;
        Ec2AutoScalingGroup other = (Ec2AutoScalingGroup) obj;
        if (other.getConfiguration() == null ^ this.getConfiguration() == null)
            return false;
        if (other.getConfiguration() != null && other.getConfiguration().equals(this.getConfiguration()) == false)
            return false;
        if (other.getCostCalculation() == null ^ this.getCostCalculation() == null)
            return false;
        if (other.getCostCalculation() != null && other.getCostCalculation().equals(this.getCostCalculation()) == 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-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Ec2AutoScalingGroup.java