Interface AttributeFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttributeFilter.Builder,AttributeFilter>,SdkBuilder<AttributeFilter.Builder,AttributeFilter>,SdkPojo
- Enclosing class:
- AttributeFilter
public static interface AttributeFilter.Builder extends SdkPojo, CopyableBuilder<AttributeFilter.Builder,AttributeFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AttributeFilter.BuilderandAllFilters(Collection<AttributeFilter> andAllFilters)Performs a logicalANDoperation on all supplied filters.AttributeFilter.BuilderandAllFilters(Consumer<AttributeFilter.Builder>... andAllFilters)Performs a logicalANDoperation on all supplied filters.AttributeFilter.BuilderandAllFilters(AttributeFilter... andAllFilters)Performs a logicalANDoperation on all supplied filters.default AttributeFilter.BuildercontainsAll(Consumer<DocumentAttribute.Builder> containsAll)Returnstruewhen a document contains all the specified document attributes or metadata fields.AttributeFilter.BuildercontainsAll(DocumentAttribute containsAll)Returnstruewhen a document contains all the specified document attributes or metadata fields.default AttributeFilter.BuildercontainsAny(Consumer<DocumentAttribute.Builder> containsAny)Returnstruewhen a document contains any of the specified document attributes or metadata fields.AttributeFilter.BuildercontainsAny(DocumentAttribute containsAny)Returnstruewhen a document contains any of the specified document attributes or metadata fields.default AttributeFilter.BuilderequalsTo(Consumer<DocumentAttribute.Builder> equalsTo)Performs an equals operation on two document attributes or metadata fields.AttributeFilter.BuilderequalsTo(DocumentAttribute equalsTo)Performs an equals operation on two document attributes or metadata fields.default AttributeFilter.BuildergreaterThan(Consumer<DocumentAttribute.Builder> greaterThan)Performs a greater than operation on two document attributes or metadata fields.AttributeFilter.BuildergreaterThan(DocumentAttribute greaterThan)Performs a greater than operation on two document attributes or metadata fields.default AttributeFilter.BuildergreaterThanOrEquals(Consumer<DocumentAttribute.Builder> greaterThanOrEquals)Performs a greater than or equals operation on two document attributes or metadata fields.AttributeFilter.BuildergreaterThanOrEquals(DocumentAttribute greaterThanOrEquals)Performs a greater than or equals operation on two document attributes or metadata fields.default AttributeFilter.BuilderlessThan(Consumer<DocumentAttribute.Builder> lessThan)Performs a less than operation on two document attributes or metadata fields.AttributeFilter.BuilderlessThan(DocumentAttribute lessThan)Performs a less than operation on two document attributes or metadata fields.default AttributeFilter.BuilderlessThanOrEquals(Consumer<DocumentAttribute.Builder> lessThanOrEquals)Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type:dateValueandlongValue.AttributeFilter.BuilderlessThanOrEquals(DocumentAttribute lessThanOrEquals)Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type:dateValueandlongValue.default AttributeFilter.BuildernotFilter(Consumer<AttributeFilter.Builder> notFilter)Performs a logicalNOToperation on all supplied filters.AttributeFilter.BuildernotFilter(AttributeFilter notFilter)Performs a logicalNOToperation on all supplied filters.AttributeFilter.BuilderorAllFilters(Collection<AttributeFilter> orAllFilters)Performs a logicalORoperation on all supplied filters.AttributeFilter.BuilderorAllFilters(Consumer<AttributeFilter.Builder>... orAllFilters)Performs a logicalORoperation on all supplied filters.AttributeFilter.BuilderorAllFilters(AttributeFilter... orAllFilters)Performs a logicalORoperation on all supplied filters.-
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 Detail
-
andAllFilters
AttributeFilter.Builder andAllFilters(Collection<AttributeFilter> andAllFilters)
Performs a logical
ANDoperation on all supplied filters.- Parameters:
andAllFilters- Performs a logicalANDoperation on all supplied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andAllFilters
AttributeFilter.Builder andAllFilters(AttributeFilter... andAllFilters)
Performs a logical
ANDoperation on all supplied filters.- Parameters:
andAllFilters- Performs a logicalANDoperation on all supplied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andAllFilters
AttributeFilter.Builder andAllFilters(Consumer<AttributeFilter.Builder>... andAllFilters)
Performs a logical
This is a convenience method that creates an instance of theANDoperation on all supplied filters.AttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#andAllFilters(List.) - 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:
#andAllFilters(java.util.Collection)
-
orAllFilters
AttributeFilter.Builder orAllFilters(Collection<AttributeFilter> orAllFilters)
Performs a logical
ORoperation on all supplied filters.- Parameters:
orAllFilters- Performs a logicalORoperation on all supplied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orAllFilters
AttributeFilter.Builder orAllFilters(AttributeFilter... orAllFilters)
Performs a logical
ORoperation on all supplied filters.- Parameters:
orAllFilters- Performs a logicalORoperation on all supplied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orAllFilters
AttributeFilter.Builder orAllFilters(Consumer<AttributeFilter.Builder>... orAllFilters)
Performs a logical
This is a convenience method that creates an instance of theORoperation on all supplied filters.AttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orAllFilters(List.) - 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:
#orAllFilters(java.util.Collection)
-
notFilter
AttributeFilter.Builder notFilter(AttributeFilter notFilter)
Performs a logical
NOToperation on all supplied filters.- Parameters:
notFilter- Performs a logicalNOToperation on all supplied filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFilter
default AttributeFilter.Builder notFilter(Consumer<AttributeFilter.Builder> notFilter)
Performs a logical
This is a convenience method that creates an instance of theNOToperation on all supplied filters.AttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,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:
notFilter(AttributeFilter)
-
equalsTo
AttributeFilter.Builder equalsTo(DocumentAttribute equalsTo)
Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValue,longValue,stringListValueandstringValue.- Parameters:
equalsTo- Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:dateValue,longValue,stringListValueandstringValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
equalsTo
default AttributeFilter.Builder equalsTo(Consumer<DocumentAttribute.Builder> equalsTo)
Performs an equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:
This is a convenience method that creates an instance of thedateValue,longValue,stringListValueandstringValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
equalsTo(DocumentAttribute)
-
containsAll
AttributeFilter.Builder containsAll(DocumentAttribute containsAll)
Returns
truewhen a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.- Parameters:
containsAll- Returnstruewhen a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsAll
default AttributeFilter.Builder containsAll(Consumer<DocumentAttribute.Builder> containsAll)
Returns
This is a convenience method that creates an instance of thetruewhen a document contains all the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
containsAll(DocumentAttribute)
-
containsAny
AttributeFilter.Builder containsAny(DocumentAttribute containsAny)
Returns
truewhen a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.- Parameters:
containsAny- Returnstruewhen a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containsAny
default AttributeFilter.Builder containsAny(Consumer<DocumentAttribute.Builder> containsAny)
Returns
This is a convenience method that creates an instance of thetruewhen a document contains any of the specified document attributes or metadata fields. Supported for the following document attribute value types:stringListValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
containsAny(DocumentAttribute)
-
greaterThan
AttributeFilter.Builder greaterThan(DocumentAttribute greaterThan)
Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValueandlongValue.- Parameters:
greaterThan- Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types:dateValueandlongValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
greaterThan
default AttributeFilter.Builder greaterThan(Consumer<DocumentAttribute.Builder> greaterThan)
Performs a greater than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
This is a convenience method that creates an instance of thedateValueandlongValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
greaterThan(DocumentAttribute)
-
greaterThanOrEquals
AttributeFilter.Builder greaterThanOrEquals(DocumentAttribute greaterThanOrEquals)
Performs a greater than or equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValueandlongValue.- Parameters:
greaterThanOrEquals- Performs a greater than or equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:dateValueandlongValue.- 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 than or equals operation on two document attributes or metadata fields. Supported for the following document attribute value types:
This is a convenience method that creates an instance of thedateValueandlongValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
greaterThanOrEquals(DocumentAttribute)
-
lessThan
AttributeFilter.Builder lessThan(DocumentAttribute lessThan)
Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
dateValueandlongValue.- Parameters:
lessThan- Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types:dateValueandlongValue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lessThan
default AttributeFilter.Builder lessThan(Consumer<DocumentAttribute.Builder> lessThan)
Performs a less than operation on two document attributes or metadata fields. Supported for the following document attribute value types:
This is a convenience method that creates an instance of thedateValueandlongValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
lessThan(DocumentAttribute)
-
lessThanOrEquals
AttributeFilter.Builder lessThanOrEquals(DocumentAttribute lessThanOrEquals)
Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type:
dateValueandlongValue.- Parameters:
lessThanOrEquals- Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type:dateValueandlongValue.- 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 two document attributes or metadata fields.Supported for the following document attribute value type:
This is a convenience method that creates an instance of thedateValueandlongValue.DocumentAttribute.Builderavoiding the need to create one manually viaDocumentAttribute.builder().When the
Consumercompletes,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:
lessThanOrEquals(DocumentAttribute)
-
-