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 class
A builder forCfnDataAccessor.AttributeFilterProperty
static final class
An implementation forCfnDataAccessor.AttributeFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Performs a logicalAND
operation on all supplied filters.default Object
Returnstrue
when a document contains all the specified document attributes or metadata fields.default Object
Returnstrue
when a document contains any of the specified document attributes or metadata fields.default Object
Performs an equals operation on two document attributes or metadata fields.default Object
Performs a greater than operation on two document attributes or metadata fields.default Object
Performs a greater or equals than operation on two document attributes or metadata fields.default Object
Performs a less than operation on two document attributes or metadata fields.default Object
Performs a less than or equals operation on two document attributes or metadata fields.Supported for the following document attribute value type :dateValue
andlongValue
.default Object
Performs a logicalNOT
operation on all supplied filters.default Object
Performs a logicalOR
operation on all supplied filters.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndAllFilters
Performs a logicalAND
operation on all supplied filters.- See Also:
-
getContainsAll
Returnstrue
when a document contains all the specified document attributes or metadata fields.Supported for the following document attribute value types :
stringListValue
.- See Also:
-
getContainsAny
Returnstrue
when 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
,stringListValue
andstringValue
.- See Also:
-
getGreaterThan
Performs a greater than operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValue
andlongValue
.- 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 :
dateValue
andlongValue
.- See Also:
-
getLessThan
Performs a less than operation on two document attributes or metadata fields.Supported for the following document attribute value types :
dateValue
andlongValue
.- 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 :dateValue
andlongValue
.- See Also:
-
getNotFilter
Performs a logicalNOT
operation on all supplied filters.- See Also:
-
getOrAllFilters
Performs a logicalOR
operation on all supplied filters.- See Also:
-
builder
-