Interface CfnDataAccessor.AttributeFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataAccessor.AttributeFilterProperty.Jsii$Proxy
- Enclosing class:
CfnDataAccessor
@Stability(Stable)
public static interface CfnDataAccessor.AttributeFilterProperty
extends software.amazon.jsii.JsiiSerializable
Enables filtering of responses based on document attributes or metadata fields.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.qbusiness.*;
AttributeFilterProperty attributeFilterProperty_;
AttributeFilterProperty attributeFilterProperty = AttributeFilterProperty.builder()
.andAllFilters(List.of(attributeFilterProperty_))
.containsAll(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.containsAny(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.equalsTo(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.greaterThan(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.greaterThanOrEquals(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.lessThan(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.lessThanOrEquals(DocumentAttributeProperty.builder()
.name("name")
.value(DocumentAttributeValueProperty.builder()
.dateValue("dateValue")
.longValue(123)
.stringListValue(List.of("stringListValue"))
.stringValue("stringValue")
.build())
.build())
.notFilter(attributeFilterProperty_)
.orAllFilters(List.of(attributeFilterProperty_))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataAccessor.AttributeFilterPropertystatic final classAn implementation forCfnDataAccessor.AttributeFilterProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectPerforms a logicalANDoperation on all supplied filters.default ObjectReturnstruewhen a document contains all the specified document attributes or metadata fields.default ObjectReturnstruewhen a document contains any of the specified document attributes or metadata fields.default ObjectPerforms an equals operation on two document attributes or metadata fields.default ObjectPerforms a greater than operation on two document attributes or metadata fields.default ObjectPerforms a greater or equals than operation on two document attributes or metadata fields.default ObjectPerforms a less than operation on two document attributes or metadata fields.default ObjectPerforms a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type :dateValueandlongValue.default ObjectPerforms a logicalNOToperation on all supplied filters.default ObjectPerforms a logicalORoperation on all supplied filters.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndAllFilters
Performs a logicalANDoperation on all supplied filters.- See Also:
-
getContainsAll
Returnstruewhen a document contains all the specified document attributes or metadata fields.Supported for the following document attribute value types :
stringListValue.- See Also:
-
getContainsAny
Returnstruewhen a document contains any of the specified document attributes or metadata fields.Supported for the following document attribute value types :
stringListValue.- See Also:
-
getEqualsTo
Performs an equals operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValue,longValue,stringListValueandstringValue.- See Also:
-
getGreaterThan
Performs a greater than operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValueandlongValue.- See Also:
-
getGreaterThanOrEquals
Performs a greater or equals than operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValueandlongValue.- See Also:
-
getLessThan
Performs a less than operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValueandlongValue.- See Also:
-
getLessThanOrEquals
Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type :dateValueandlongValue.- See Also:
-
getNotFilter
Performs a logicalNOToperation on all supplied filters.- See Also:
-
getOrAllFilters
Performs a logicalORoperation on all supplied filters.- See Also:
-
builder
-