Interface CfnDataAccessor.ActionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataAccessor.ActionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataAccessor
@Stability(Stable)
public static interface CfnDataAccessor.ActionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an allowed action and its associated filter configuration.
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_;
ActionConfigurationProperty actionConfigurationProperty = ActionConfigurationProperty.builder()
.action("action")
// the properties below are optional
.filterConfiguration(ActionFilterConfigurationProperty.builder()
.documentAttributeFilter(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())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataAccessor.ActionConfigurationPropertystatic final classAn implementation forCfnDataAccessor.ActionConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The Amazon Q Business action that is allowed.- See Also:
-
getFilterConfiguration
The filter configuration for the action, if any.Returns union: either
IResolvableorCfnDataAccessor.ActionFilterConfigurationProperty- See Also:
-
builder
-