Interface AttributeFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributeFilter.Builder,
,AttributeFilter> SdkBuilder<AttributeFilter.Builder,
,AttributeFilter> SdkPojo
- Enclosing class:
AttributeFilter
-
Method Summary
Modifier and TypeMethodDescriptionandAllFilters
(Collection<AttributeFilter> andAllFilters) Performs a logicalAND
operation on all filters that you specify.andAllFilters
(Consumer<AttributeFilter.Builder>... andAllFilters) Performs a logicalAND
operation on all filters that you specify.andAllFilters
(AttributeFilter... andAllFilters) Performs a logicalAND
operation on all filters that you specify.default AttributeFilter.Builder
containsAll
(Consumer<DocumentAttribute.Builder> containsAll) Returns true when a document contains all of the specified document attributes/fields.containsAll
(DocumentAttribute containsAll) Returns true when a document contains all of the specified document attributes/fields.default AttributeFilter.Builder
containsAny
(Consumer<DocumentAttribute.Builder> containsAny) Returns true when a document contains any of the specified document attributes/fields.containsAny
(DocumentAttribute containsAny) Returns true when a document contains any of the specified document attributes/fields.default AttributeFilter.Builder
equalsTo
(Consumer<DocumentAttribute.Builder> equalsTo) Performs an equals operation on document attributes/fields and their values.equalsTo
(DocumentAttribute equalsTo) Performs an equals operation on document attributes/fields and their values.default AttributeFilter.Builder
greaterThan
(Consumer<DocumentAttribute.Builder> greaterThan) Performs a greater than operation on document attributes/fields and their values.greaterThan
(DocumentAttribute greaterThan) Performs a greater than operation on document attributes/fields and their values.default AttributeFilter.Builder
greaterThanOrEquals
(Consumer<DocumentAttribute.Builder> greaterThanOrEquals) Performs a greater or equals than operation on document attributes/fields and their values.greaterThanOrEquals
(DocumentAttribute greaterThanOrEquals) Performs a greater or equals than operation on document attributes/fields and their values.default AttributeFilter.Builder
lessThan
(Consumer<DocumentAttribute.Builder> lessThan) Performs a less than operation on document attributes/fields and their values.lessThan
(DocumentAttribute lessThan) Performs a less than operation on document attributes/fields and their values.default AttributeFilter.Builder
lessThanOrEquals
(Consumer<DocumentAttribute.Builder> lessThanOrEquals) Performs a less than or equals operation on document attributes/fields and their values.lessThanOrEquals
(DocumentAttribute lessThanOrEquals) Performs a less than or equals operation on document attributes/fields and their values.default AttributeFilter.Builder
notFilter
(Consumer<AttributeFilter.Builder> notFilter) Performs a logicalNOT
operation on all filters that you specify.notFilter
(AttributeFilter notFilter) Performs a logicalNOT
operation on all filters that you specify.orAllFilters
(Collection<AttributeFilter> orAllFilters) Performs a logicalOR
operation on all filters that you specify.orAllFilters
(Consumer<AttributeFilter.Builder>... orAllFilters) Performs a logicalOR
operation on all filters that you specify.orAllFilters
(AttributeFilter... orAllFilters) Performs a logicalOR
operation on all filters that you specify.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
andAllFilters
Performs a logical
AND
operation on all filters that you specify.- Parameters:
andAllFilters
- Performs a logicalAND
operation on all filters that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andAllFilters
Performs a logical
AND
operation on all filters that you specify.- Parameters:
andAllFilters
- Performs a logicalAND
operation on all filters that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andAllFilters
Performs a logical
This is a convenience method that creates an instance of theAND
operation on all filters that you specify.AttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toandAllFilters(List<AttributeFilter>)
.- Parameters:
andAllFilters
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orAllFilters
Performs a logical
OR
operation on all filters that you specify.- Parameters:
orAllFilters
- Performs a logicalOR
operation on all filters that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orAllFilters
Performs a logical
OR
operation on all filters that you specify.- Parameters:
orAllFilters
- Performs a logicalOR
operation on all filters that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orAllFilters
Performs a logical
This is a convenience method that creates an instance of theOR
operation on all filters that you specify.AttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorAllFilters(List<AttributeFilter>)
.- Parameters:
orAllFilters
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFilter
Performs a logical
NOT
operation on all filters that you specify.- Parameters:
notFilter
- Performs a logicalNOT
operation on all filters that you specify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFilter
Performs a logical
This is a convenience method that creates an instance of theNOT
operation on all filters that you specify.AttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotFilter(AttributeFilter)
.- Parameters:
notFilter
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
equalsTo
Performs an equals operation on document attributes/fields and their values.
- Parameters:
equalsTo
- Performs an equals operation on document attributes/fields and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalsTo
Performs an equals operation on document attributes/fields and their values.
This is a convenience method that creates an instance of theDocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toequalsTo(DocumentAttribute)
.- Parameters:
equalsTo
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containsAll
Returns true when a document contains all of the specified document attributes/fields. This filter is only applicable to StringListValue.
- Parameters:
containsAll
- Returns true when a document contains all of the specified document attributes/fields. This filter is only applicable to StringListValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsAll
Returns true when a document contains all of the specified document attributes/fields. This filter is only applicable to StringListValue.
This is a convenience method that creates an instance of theDocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainsAll(DocumentAttribute)
.- Parameters:
containsAll
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containsAny
Returns true when a document contains any of the specified document attributes/fields. This filter is only applicable to StringListValue.
- Parameters:
containsAny
- Returns true when a document contains any of the specified document attributes/fields. This filter is only applicable to StringListValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsAny
Returns true when a document contains any of the specified document attributes/fields. This filter is only applicable to StringListValue.
This is a convenience method that creates an instance of theDocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainsAny(DocumentAttribute)
.- Parameters:
containsAny
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
greaterThan
Performs a greater than operation on document attributes/fields and their values. Use with the document attribute type
Date
orLong
.- Parameters:
greaterThan
- Performs a greater than operation on document attributes/fields and their values. Use with the document attribute typeDate
orLong
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
greaterThan
Performs a greater than operation on document attributes/fields and their values. Use with the document attribute type
This is a convenience method that creates an instance of theDate
orLong
.DocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togreaterThan(DocumentAttribute)
.- Parameters:
greaterThan
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
greaterThanOrEquals
Performs a greater or equals than operation on document attributes/fields and their values. Use with the document attribute type
Date
orLong
.- Parameters:
greaterThanOrEquals
- Performs a greater or equals than operation on document attributes/fields and their values. Use with the document attribute typeDate
orLong
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
greaterThanOrEquals
default AttributeFilter.Builder greaterThanOrEquals(Consumer<DocumentAttribute.Builder> greaterThanOrEquals) Performs a greater or equals than operation on document attributes/fields and their values. Use with the document attribute type
This is a convenience method that creates an instance of theDate
orLong
.DocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togreaterThanOrEquals(DocumentAttribute)
.- Parameters:
greaterThanOrEquals
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lessThan
Performs a less than operation on document attributes/fields and their values. Use with the document attribute type
Date
orLong
.- Parameters:
lessThan
- Performs a less than operation on document attributes/fields and their values. Use with the document attribute typeDate
orLong
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lessThan
Performs a less than operation on document attributes/fields and their values. Use with the document attribute type
This is a convenience method that creates an instance of theDate
orLong
.DocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolessThan(DocumentAttribute)
.- Parameters:
lessThan
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lessThanOrEquals
Performs a less than or equals operation on document attributes/fields and their values. Use with the document attribute type
Date
orLong
.- Parameters:
lessThanOrEquals
- Performs a less than or equals operation on document attributes/fields and their values. Use with the document attribute typeDate
orLong
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lessThanOrEquals
default AttributeFilter.Builder lessThanOrEquals(Consumer<DocumentAttribute.Builder> lessThanOrEquals) Performs a less than or equals operation on document attributes/fields and their values. Use with the document attribute type
This is a convenience method that creates an instance of theDate
orLong
.DocumentAttribute.Builder
avoiding the need to create one manually viaDocumentAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolessThanOrEquals(DocumentAttribute)
.- Parameters:
lessThanOrEquals
- a consumer that will call methods onDocumentAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-