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

        if (obj instanceof DataLakeSource == false)
            return false;
        DataLakeSource other = (DataLakeSource) obj;
        if (other.getAccount() == null ^ this.getAccount() == null)
            return false;
        if (other.getAccount() != null && other.getAccount().equals(this.getAccount()) == false)
            return false;
        if (other.getEventClasses() == null ^ this.getEventClasses() == null)
            return false;
        if (other.getEventClasses() != null && other.getEventClasses().equals(this.getEventClasses()) == false)
            return false;
        if (other.getSourceName() == null ^ this.getSourceName() == null)
            return false;
        if (other.getSourceName() != null && other.getSourceName().equals(this.getSourceName()) == false)
            return false;
        if (other.getSourceStatuses() == null ^ this.getSourceStatuses() == null)
            return false;
        if (other.getSourceStatuses() != null && other.getSourceStatuses().equals(this.getSourceStatuses()) == 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-securitylake/src/main/java/com/amazonaws/services/securitylake/model/DataLakeSource.java