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

        if (obj instanceof EbsVolumeScanDetails == false)
            return false;
        EbsVolumeScanDetails other = (EbsVolumeScanDetails) obj;
        if (other.getScanId() == null ^ this.getScanId() == null)
            return false;
        if (other.getScanId() != null && other.getScanId().equals(this.getScanId()) == false)
            return false;
        if (other.getScanStartedAt() == null ^ this.getScanStartedAt() == null)
            return false;
        if (other.getScanStartedAt() != null && other.getScanStartedAt().equals(this.getScanStartedAt()) == false)
            return false;
        if (other.getScanCompletedAt() == null ^ this.getScanCompletedAt() == null)
            return false;
        if (other.getScanCompletedAt() != null && other.getScanCompletedAt().equals(this.getScanCompletedAt()) == false)
            return false;
        if (other.getTriggerFindingId() == null ^ this.getTriggerFindingId() == null)
            return false;
        if (other.getTriggerFindingId() != null && other.getTriggerFindingId().equals(this.getTriggerFindingId()) == false)
            return false;
        if (other.getSources() == null ^ this.getSources() == null)
            return false;
        if (other.getSources() != null && other.getSources().equals(this.getSources()) == false)
            return false;
        if (other.getScanDetections() == null ^ this.getScanDetections() == null)
            return false;
        if (other.getScanDetections() != null && other.getScanDetections().equals(this.getScanDetections()) == false)
            return false;
        if (other.getScanType() == null ^ this.getScanType() == null)
            return false;
        if (other.getScanType() != null && other.getScanType().equals(this.getScanType()) == 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-guardduty/src/main/java/com/amazonaws/services/guardduty/model/EbsVolumeScanDetails.java