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

        if (obj instanceof EstimateByTime == false)
            return false;
        EstimateByTime other = (EstimateByTime) obj;
        if (other.getUsageCost() == null ^ this.getUsageCost() == null)
            return false;
        if (other.getUsageCost() != null && other.getUsageCost().equals(this.getUsageCost()) == false)
            return false;
        if (other.getPricingUnit() == null ^ this.getPricingUnit() == null)
            return false;
        if (other.getPricingUnit() != null && other.getPricingUnit().equals(this.getPricingUnit()) == false)
            return false;
        if (other.getUnit() == null ^ this.getUnit() == null)
            return false;
        if (other.getUnit() != null && other.getUnit().equals(this.getUnit()) == false)
            return false;
        if (other.getCurrency() == null ^ this.getCurrency() == null)
            return false;
        if (other.getCurrency() != null && other.getCurrency().equals(this.getCurrency()) == false)
            return false;
        if (other.getTimePeriod() == null ^ this.getTimePeriod() == null)
            return false;
        if (other.getTimePeriod() != null && other.getTimePeriod().equals(this.getTimePeriod()) == 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-lightsail/src/main/java/com/amazonaws/services/lightsail/model/EstimateByTime.java