public static interface AttributeFilter.Builder extends SdkPojo, CopyableBuilder<AttributeFilter.Builder,AttributeFilter>
| Modifier and Type | Method and Description |
|---|---|
AttributeFilter.Builder |
andAllFilters(AttributeFilter... andAllFilters)
Performs a logical
AND operation on all supplied filters. |
AttributeFilter.Builder |
andAllFilters(Collection<AttributeFilter> andAllFilters)
Performs a logical
AND operation on all supplied filters. |
AttributeFilter.Builder |
andAllFilters(Consumer<AttributeFilter.Builder>... andAllFilters)
Performs a logical
AND operation on all supplied filters. |
default AttributeFilter.Builder |
containsAll(Consumer<DocumentAttribute.Builder> containsAll)
Returns true when a document contains all of the specified document attributes or metadata fields.
|
AttributeFilter.Builder |
containsAll(DocumentAttribute containsAll)
Returns true when a document contains all of the specified document attributes or metadata fields.
|
default AttributeFilter.Builder |
containsAny(Consumer<DocumentAttribute.Builder> containsAny)
Returns true when a document contains any of the specified document attributes or metadata fields.
|
AttributeFilter.Builder |
containsAny(DocumentAttribute containsAny)
Returns true when a document contains any of the specified document attributes or metadata fields.
|
default AttributeFilter.Builder |
equalsTo(Consumer<DocumentAttribute.Builder> equalsTo)
Performs an equals operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
equalsTo(DocumentAttribute equalsTo)
Performs an equals operation on two document attributes or metadata fields.
|
default AttributeFilter.Builder |
greaterThan(Consumer<DocumentAttribute.Builder> greaterThan)
Performs a greater than operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
greaterThan(DocumentAttribute greaterThan)
Performs a greater than operation on two document attributes or metadata fields.
|
default AttributeFilter.Builder |
greaterThanOrEquals(Consumer<DocumentAttribute.Builder> greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
greaterThanOrEquals(DocumentAttribute greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes or metadata fields.
|
default AttributeFilter.Builder |
lessThan(Consumer<DocumentAttribute.Builder> lessThan)
Performs a less than operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
lessThan(DocumentAttribute lessThan)
Performs a less than operation on two document attributes or metadata fields.
|
default AttributeFilter.Builder |
lessThanOrEquals(Consumer<DocumentAttribute.Builder> lessThanOrEquals)
Performs a less than or equals operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
lessThanOrEquals(DocumentAttribute lessThanOrEquals)
Performs a less than or equals operation on two document attributes or metadata fields.
|
AttributeFilter.Builder |
notFilter(AttributeFilter notFilter)
Performs a logical
NOT operation on all supplied filters. |
default AttributeFilter.Builder |
notFilter(Consumer<AttributeFilter.Builder> notFilter)
Performs a logical
NOT operation on all supplied filters. |
AttributeFilter.Builder |
orAllFilters(AttributeFilter... orAllFilters)
Performs a logical
OR operation on all supplied filters. |
AttributeFilter.Builder |
orAllFilters(Collection<AttributeFilter> orAllFilters)
Performs a logical
OR operation on all supplied filters. |
AttributeFilter.Builder |
orAllFilters(Consumer<AttributeFilter.Builder>... orAllFilters)
Performs a logical
OR operation on all supplied filters. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAttributeFilter.Builder andAllFilters(Collection<AttributeFilter> andAllFilters)
Performs a logical AND operation on all supplied filters.
andAllFilters - Performs a logical AND operation on all supplied filters.AttributeFilter.Builder andAllFilters(AttributeFilter... andAllFilters)
Performs a logical AND operation on all supplied filters.
andAllFilters - Performs a logical AND operation on all supplied filters.AttributeFilter.Builder andAllFilters(Consumer<AttributeFilter.Builder>... andAllFilters)
Performs a logical AND operation on all supplied filters.
AttributeFilter.Builder avoiding the need to create one
manually via AttributeFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #andAllFilters(List.
andAllFilters - a consumer that will call methods on
AttributeFilter.Builder#andAllFilters(java.util.Collection) AttributeFilter.Builder orAllFilters(Collection<AttributeFilter> orAllFilters)
Performs a logical OR operation on all supplied filters.
orAllFilters - Performs a logical OR operation on all supplied filters.AttributeFilter.Builder orAllFilters(AttributeFilter... orAllFilters)
Performs a logical OR operation on all supplied filters.
orAllFilters - Performs a logical OR operation on all supplied filters.AttributeFilter.Builder orAllFilters(Consumer<AttributeFilter.Builder>... orAllFilters)
Performs a logical OR operation on all supplied filters.
AttributeFilter.Builder avoiding the need to create one
manually via AttributeFilter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #orAllFilters(List.
orAllFilters - a consumer that will call methods on
AttributeFilter.Builder#orAllFilters(java.util.Collection) AttributeFilter.Builder notFilter(AttributeFilter notFilter)
Performs a logical NOT operation on all supplied filters.
notFilter - Performs a logical NOT operation on all supplied filters.default AttributeFilter.Builder notFilter(Consumer<AttributeFilter.Builder> notFilter)
Performs a logical NOT operation on all supplied filters.
AttributeFilter.Builder avoiding the
need to create one manually via AttributeFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to notFilter(AttributeFilter).
notFilter - a consumer that will call methods on AttributeFilter.BuildernotFilter(AttributeFilter)AttributeFilter.Builder equalsTo(DocumentAttribute equalsTo)
Performs an equals operation on two document attributes or metadata fields.
equalsTo - Performs an equals operation on two document attributes or metadata fields.default AttributeFilter.Builder equalsTo(Consumer<DocumentAttribute.Builder> equalsTo)
Performs an equals operation on two document attributes or metadata fields.
This is a convenience method that creates an instance of theDocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to equalsTo(DocumentAttribute).
equalsTo - a consumer that will call methods on DocumentAttribute.BuilderequalsTo(DocumentAttribute)AttributeFilter.Builder containsAll(DocumentAttribute containsAll)
Returns true when a document contains all of the specified document attributes or metadata fields. This
filter is only applicable to StringListValue metadata.
containsAll - Returns true when a document contains all of the specified document attributes or metadata fields.
This filter is only applicable to StringListValue metadata.default AttributeFilter.Builder containsAll(Consumer<DocumentAttribute.Builder> containsAll)
Returns true when a document contains all of the specified document attributes or metadata fields. This
filter is only applicable to StringListValue metadata.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to containsAll(DocumentAttribute).
containsAll - a consumer that will call methods on DocumentAttribute.BuildercontainsAll(DocumentAttribute)AttributeFilter.Builder containsAny(DocumentAttribute containsAny)
Returns true when a document contains any of the specified document attributes or metadata fields. This
filter is only applicable to StringListValue metadata.
containsAny - Returns true when a document contains any of the specified document attributes or metadata fields.
This filter is only applicable to StringListValue metadata.default AttributeFilter.Builder containsAny(Consumer<DocumentAttribute.Builder> containsAny)
Returns true when a document contains any of the specified document attributes or metadata fields. This
filter is only applicable to StringListValue metadata.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to containsAny(DocumentAttribute).
containsAny - a consumer that will call methods on DocumentAttribute.BuildercontainsAny(DocumentAttribute)AttributeFilter.Builder greaterThan(DocumentAttribute greaterThan)
Performs a greater than operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.
greaterThan - Performs a greater than operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.default AttributeFilter.Builder greaterThan(Consumer<DocumentAttribute.Builder> greaterThan)
Performs a greater than operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to greaterThan(DocumentAttribute).
greaterThan - a consumer that will call methods on DocumentAttribute.BuildergreaterThan(DocumentAttribute)AttributeFilter.Builder greaterThanOrEquals(DocumentAttribute greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes or metadata fields. Use with a
document attribute of type Date or Long.
greaterThanOrEquals - Performs a greater or equals than operation on two document attributes or metadata fields. Use with a
document attribute of type Date or Long.default AttributeFilter.Builder greaterThanOrEquals(Consumer<DocumentAttribute.Builder> greaterThanOrEquals)
Performs a greater or equals than operation on two document attributes or metadata fields. Use with a
document attribute of type Date or Long.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to greaterThanOrEquals(DocumentAttribute).
greaterThanOrEquals - a consumer that will call methods on DocumentAttribute.BuildergreaterThanOrEquals(DocumentAttribute)AttributeFilter.Builder lessThan(DocumentAttribute lessThan)
Performs a less than operation on two document attributes or metadata fields. Use with a document attribute
of type Date or Long.
lessThan - Performs a less than operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.default AttributeFilter.Builder lessThan(Consumer<DocumentAttribute.Builder> lessThan)
Performs a less than operation on two document attributes or metadata fields. Use with a document attribute
of type Date or Long.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lessThan(DocumentAttribute).
lessThan - a consumer that will call methods on DocumentAttribute.BuilderlessThan(DocumentAttribute)AttributeFilter.Builder lessThanOrEquals(DocumentAttribute lessThanOrEquals)
Performs a less than or equals operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.
lessThanOrEquals - Performs a less than or equals operation on two document attributes or metadata fields. Use with a
document attribute of type Date or Long.default AttributeFilter.Builder lessThanOrEquals(Consumer<DocumentAttribute.Builder> lessThanOrEquals)
Performs a less than or equals operation on two document attributes or metadata fields. Use with a document
attribute of type Date or Long.
DocumentAttribute.Builder avoiding the
need to create one manually via DocumentAttribute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lessThanOrEquals(DocumentAttribute).
lessThanOrEquals - a consumer that will call methods on DocumentAttribute.BuilderlessThanOrEquals(DocumentAttribute)Copyright © 2023. All rights reserved.