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

        if (obj instanceof FileSystemDataSource == false)
            return false;
        FileSystemDataSource other = (FileSystemDataSource) obj;
        if (other.getFileSystemId() == null ^ this.getFileSystemId() == null)
            return false;
        if (other.getFileSystemId() != null && other.getFileSystemId().equals(this.getFileSystemId()) == false)
            return false;
        if (other.getFileSystemAccessMode() == null ^ this.getFileSystemAccessMode() == null)
            return false;
        if (other.getFileSystemAccessMode() != null && other.getFileSystemAccessMode().equals(this.getFileSystemAccessMode()) == false)
            return false;
        if (other.getFileSystemType() == null ^ this.getFileSystemType() == null)
            return false;
        if (other.getFileSystemType() != null && other.getFileSystemType().equals(this.getFileSystemType()) == false)
            return false;
        if (other.getDirectoryPath() == null ^ this.getDirectoryPath() == null)
            return false;
        if (other.getDirectoryPath() != null && other.getDirectoryPath().equals(this.getDirectoryPath()) == 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-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/FileSystemDataSource.java