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

        if (obj instanceof DataSourceSyncJobMetrics == false)
            return false;
        DataSourceSyncJobMetrics other = (DataSourceSyncJobMetrics) obj;
        if (other.getDocumentsAdded() == null ^ this.getDocumentsAdded() == null)
            return false;
        if (other.getDocumentsAdded() != null && other.getDocumentsAdded().equals(this.getDocumentsAdded()) == false)
            return false;
        if (other.getDocumentsModified() == null ^ this.getDocumentsModified() == null)
            return false;
        if (other.getDocumentsModified() != null && other.getDocumentsModified().equals(this.getDocumentsModified()) == false)
            return false;
        if (other.getDocumentsDeleted() == null ^ this.getDocumentsDeleted() == null)
            return false;
        if (other.getDocumentsDeleted() != null && other.getDocumentsDeleted().equals(this.getDocumentsDeleted()) == false)
            return false;
        if (other.getDocumentsFailed() == null ^ this.getDocumentsFailed() == null)
            return false;
        if (other.getDocumentsFailed() != null && other.getDocumentsFailed().equals(this.getDocumentsFailed()) == false)
            return false;
        if (other.getDocumentsScanned() == null ^ this.getDocumentsScanned() == null)
            return false;
        if (other.getDocumentsScanned() != null && other.getDocumentsScanned().equals(this.getDocumentsScanned()) == 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-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/DataSourceSyncJobMetrics.java