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

        if (obj instanceof DataSet == false)
            return false;
        DataSet other = (DataSet) obj;
        if (other.getDatasetName() == null ^ this.getDatasetName() == null)
            return false;
        if (other.getDatasetName() != null && other.getDatasetName().equals(this.getDatasetName()) == false)
            return false;
        if (other.getDatasetOrg() == null ^ this.getDatasetOrg() == null)
            return false;
        if (other.getDatasetOrg() != null && other.getDatasetOrg().equals(this.getDatasetOrg()) == false)
            return false;
        if (other.getRecordLength() == null ^ this.getRecordLength() == null)
            return false;
        if (other.getRecordLength() != null && other.getRecordLength().equals(this.getRecordLength()) == false)
            return false;
        if (other.getRelativePath() == null ^ this.getRelativePath() == null)
            return false;
        if (other.getRelativePath() != null && other.getRelativePath().equals(this.getRelativePath()) == false)
            return false;
        if (other.getStorageType() == null ^ this.getStorageType() == null)
            return false;
        if (other.getStorageType() != null && other.getStorageType().equals(this.getStorageType()) == 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-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/DataSet.java