| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
DocumentAttribute |
DocumentAttribute.clone() |
DocumentAttribute |
AttributeFilter.getContainsAll()
Returns true when a document contains all of the specified document attributes.
|
DocumentAttribute |
AttributeFilter.getContainsAny()
Returns true when a document contains any of the specified document attributes.This filter is only appicable to
StringListValue metadata. |
DocumentAttribute |
AttributeFilter.getEqualsTo()
Performs an equals operation on two document attributes.
|
DocumentAttribute |
AttributeFilter.getGreaterThan()
Performs a greater than operation on two document attributes.
|
DocumentAttribute |
AttributeFilter.getGreaterThanOrEquals()
Performs a greater or equals than operation on two document attributes.
|
DocumentAttribute |
AttributeFilter.getLessThan()
Performs a less than operation on two document attributes.
|
DocumentAttribute |
AttributeFilter.getLessThanOrEquals()
Performs a less than or equals operation on two document attributes.
|
DocumentAttribute |
DocumentAttribute.withKey(String key)
The identifier for the attribute.
|
DocumentAttribute |
DocumentAttribute.withValue(DocumentAttributeValue value)
The value of the attribute.
|
| Modifier and Type | Method and Description |
|---|---|
List<DocumentAttribute> |
Document.getAttributes()
Custom attributes to apply to the document.
|
List<DocumentAttribute> |
QueryResultItem.getDocumentAttributes()
An array of document attributes for the document that the query result maps to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AttributeFilter.setContainsAll(DocumentAttribute containsAll)
Returns true when a document contains all of the specified document attributes.
|
void |
AttributeFilter.setContainsAny(DocumentAttribute containsAny)
Returns true when a document contains any of the specified document attributes.This filter is only appicable to
StringListValue metadata. |
void |
AttributeFilter.setEqualsTo(DocumentAttribute equalsTo)
Performs an equals operation on two document attributes.
|
void |
AttributeFilter.setGreaterThan(DocumentAttribute greaterThan)
Performs a greater than operation on two document attributes.
|
void |
AttributeFilter.setGreaterThanOrEquals(DocumentAttribute greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes.
|
void |
AttributeFilter.setLessThan(DocumentAttribute lessThan)
Performs a less than operation on two document attributes.
|
void |
AttributeFilter.setLessThanOrEquals(DocumentAttribute lessThanOrEquals)
Performs a less than or equals operation on two document attributes.
|
Document |
Document.withAttributes(DocumentAttribute... attributes)
Custom attributes to apply to the document.
|
AttributeFilter |
AttributeFilter.withContainsAll(DocumentAttribute containsAll)
Returns true when a document contains all of the specified document attributes.
|
AttributeFilter |
AttributeFilter.withContainsAny(DocumentAttribute containsAny)
Returns true when a document contains any of the specified document attributes.This filter is only appicable to
StringListValue metadata. |
QueryResultItem |
QueryResultItem.withDocumentAttributes(DocumentAttribute... documentAttributes)
An array of document attributes for the document that the query result maps to.
|
AttributeFilter |
AttributeFilter.withEqualsTo(DocumentAttribute equalsTo)
Performs an equals operation on two document attributes.
|
AttributeFilter |
AttributeFilter.withGreaterThan(DocumentAttribute greaterThan)
Performs a greater than operation on two document attributes.
|
AttributeFilter |
AttributeFilter.withGreaterThanOrEquals(DocumentAttribute greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes.
|
AttributeFilter |
AttributeFilter.withLessThan(DocumentAttribute lessThan)
Performs a less than operation on two document attributes.
|
AttributeFilter |
AttributeFilter.withLessThanOrEquals(DocumentAttribute lessThanOrEquals)
Performs a less than or equals operation on two document attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Document.setAttributes(Collection<DocumentAttribute> attributes)
Custom attributes to apply to the document.
|
void |
QueryResultItem.setDocumentAttributes(Collection<DocumentAttribute> documentAttributes)
An array of document attributes for the document that the query result maps to.
|
Document |
Document.withAttributes(Collection<DocumentAttribute> attributes)
Custom attributes to apply to the document.
|
QueryResultItem |
QueryResultItem.withDocumentAttributes(Collection<DocumentAttribute> documentAttributes)
An array of document attributes for the document that the query result maps to.
|
Copyright © 2020. All rights reserved.