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

        if (obj instanceof AnomalyMonitor == false)
            return false;
        AnomalyMonitor other = (AnomalyMonitor) obj;
        if (other.getMonitorArn() == null ^ this.getMonitorArn() == null)
            return false;
        if (other.getMonitorArn() != null && other.getMonitorArn().equals(this.getMonitorArn()) == false)
            return false;
        if (other.getMonitorName() == null ^ this.getMonitorName() == null)
            return false;
        if (other.getMonitorName() != null && other.getMonitorName().equals(this.getMonitorName()) == false)
            return false;
        if (other.getCreationDate() == null ^ this.getCreationDate() == null)
            return false;
        if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false)
            return false;
        if (other.getLastUpdatedDate() == null ^ this.getLastUpdatedDate() == null)
            return false;
        if (other.getLastUpdatedDate() != null && other.getLastUpdatedDate().equals(this.getLastUpdatedDate()) == false)
            return false;
        if (other.getLastEvaluatedDate() == null ^ this.getLastEvaluatedDate() == null)
            return false;
        if (other.getLastEvaluatedDate() != null && other.getLastEvaluatedDate().equals(this.getLastEvaluatedDate()) == false)
            return false;
        if (other.getMonitorType() == null ^ this.getMonitorType() == null)
            return false;
        if (other.getMonitorType() != null && other.getMonitorType().equals(this.getMonitorType()) == false)
            return false;
        if (other.getMonitorDimension() == null ^ this.getMonitorDimension() == null)
            return false;
        if (other.getMonitorDimension() != null && other.getMonitorDimension().equals(this.getMonitorDimension()) == false)
            return false;
        if (other.getMonitorSpecification() == null ^ this.getMonitorSpecification() == null)
            return false;
        if (other.getMonitorSpecification() != null && other.getMonitorSpecification().equals(this.getMonitorSpecification()) == false)
            return false;
        if (other.getDimensionalValueCount() == null ^ this.getDimensionalValueCount() == null)
            return false;
        if (other.getDimensionalValueCount() != null && other.getDimensionalValueCount().equals(this.getDimensionalValueCount()) == 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/AnomalyMonitor.java