public java.util.List<DocumentAttribute> getAttributes() {
        return attributes;
    }
<p>
Attributes that identify a specific version of a document to check.
</p>
<p>
The only valid attributes are:
</p>
<ul>
<li>
<p>
version
</p>
</li>
<li>
<p>
datasourceId
</p>
</li>
<li>
<p>
jobExecutionId
</p>
</li>
</ul>
<p>
The attributes follow these rules:
</p>
<ul>
<li>
<p>
<code>dataSourceId</code> and <code>jobExecutionId</code> must be used together.
</p>
</li>
<li>
<p>
<code>version</code> is ignored if <code>dataSourceId</code> and <code>jobExecutionId</code> are not provided.
</p>
</li>
<li>
<p>
If <code>dataSourceId</code> and <code>jobExecutionId</code> are provided, but <code>version</code> is not, the
version defaults to "0".
</p>
</li>
</ul>

@return Attributes that identify a specific version of a document to check.</p>
        <p>
        The only valid attributes are:
        </p>
        <ul>
        <li>
        <p>
        version
        </p>
        </li>
        <li>
        <p>
        datasourceId
        </p>
        </li>
        <li>
        <p>
        jobExecutionId
        </p>
        </li>
        </ul>
        <p>
        The attributes follow these rules:
        </p>
        <ul>
        <li>
        <p>
        <code>dataSourceId</code> and <code>jobExecutionId</code> must be used together.
        </p>
        </li>
        <li>
        <p>
        <code>version</code> is ignored if <code>dataSourceId</code> and <code>jobExecutionId</code> are not
        provided.
        </p>
        </li>
        <li>
        <p>
        If <code>dataSourceId</code> and <code>jobExecutionId</code> are provided, but <code>version</code> is
        not, the version defaults to "0".
        </p>
        </li>
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/DocumentInfo.java