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

        if (obj instanceof EC2ResourceUtilization == false)
            return false;
        EC2ResourceUtilization other = (EC2ResourceUtilization) obj;
        if (other.getMaxCpuUtilizationPercentage() == null ^ this.getMaxCpuUtilizationPercentage() == null)
            return false;
        if (other.getMaxCpuUtilizationPercentage() != null && other.getMaxCpuUtilizationPercentage().equals(this.getMaxCpuUtilizationPercentage()) == false)
            return false;
        if (other.getMaxMemoryUtilizationPercentage() == null ^ this.getMaxMemoryUtilizationPercentage() == null)
            return false;
        if (other.getMaxMemoryUtilizationPercentage() != null
                && other.getMaxMemoryUtilizationPercentage().equals(this.getMaxMemoryUtilizationPercentage()) == false)
            return false;
        if (other.getMaxStorageUtilizationPercentage() == null ^ this.getMaxStorageUtilizationPercentage() == null)
            return false;
        if (other.getMaxStorageUtilizationPercentage() != null
                && other.getMaxStorageUtilizationPercentage().equals(this.getMaxStorageUtilizationPercentage()) == false)
            return false;
        if (other.getEBSResourceUtilization() == null ^ this.getEBSResourceUtilization() == null)
            return false;
        if (other.getEBSResourceUtilization() != null && other.getEBSResourceUtilization().equals(this.getEBSResourceUtilization()) == false)
            return false;
        if (other.getDiskResourceUtilization() == null ^ this.getDiskResourceUtilization() == null)
            return false;
        if (other.getDiskResourceUtilization() != null && other.getDiskResourceUtilization().equals(this.getDiskResourceUtilization()) == false)
            return false;
        if (other.getNetworkResourceUtilization() == null ^ this.getNetworkResourceUtilization() == null)
            return false;
        if (other.getNetworkResourceUtilization() != null && other.getNetworkResourceUtilization().equals(this.getNetworkResourceUtilization()) == 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-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/EC2ResourceUtilization.java