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

        if (obj instanceof GetApproximateUsageRecordsRequest == false)
            return false;
        GetApproximateUsageRecordsRequest other = (GetApproximateUsageRecordsRequest) obj;
        if (other.getGranularity() == null ^ this.getGranularity() == null)
            return false;
        if (other.getGranularity() != null && other.getGranularity().equals(this.getGranularity()) == false)
            return false;
        if (other.getServices() == null ^ this.getServices() == null)
            return false;
        if (other.getServices() != null && other.getServices().equals(this.getServices()) == false)
            return false;
        if (other.getApproximationDimension() == null ^ this.getApproximationDimension() == null)
            return false;
        if (other.getApproximationDimension() != null && other.getApproximationDimension().equals(this.getApproximationDimension()) == 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/GetApproximateUsageRecordsRequest.java