Class CfnDataAccessor

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-27T17:02:05.805Z") @Stability(Stable) public class CfnDataAccessor extends CfnResource implements IInspectable, ITaggableV2
Definition of AWS::QBusiness::DataAccessor Resource Type.

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_;
 CfnDataAccessor cfnDataAccessor = CfnDataAccessor.Builder.create(this, "MyCfnDataAccessor")
         .actionConfigurations(List.of(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()))
         .displayName("displayName")
         .principal("principal")
         // the properties below are optional
         .applicationId("applicationId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDataAccessor

      protected CfnDataAccessor(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDataAccessor

      protected CfnDataAccessor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDataAccessor

      @Stability(Stable) public CfnDataAccessor(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataAccessorProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
    • getAttrDataAccessorArn

      @Stability(Stable) @NotNull public String getAttrDataAccessorArn()
    • getAttrDataAccessorId

      @Stability(Stable) @NotNull public String getAttrDataAccessorId()
    • getAttrIdcApplicationArn

      @Stability(Stable) @NotNull public String getAttrIdcApplicationArn()
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getActionConfigurations

      @Stability(Stable) @NotNull public Object getActionConfigurations()
    • setActionConfigurations

      @Stability(Stable) public void setActionConfigurations(@NotNull IResolvable value)
    • setActionConfigurations

      @Stability(Stable) public void setActionConfigurations(@NotNull List<Object> value)
    • getDisplayName

      @Stability(Stable) @NotNull public String getDisplayName()
    • setDisplayName

      @Stability(Stable) public void setDisplayName(@NotNull String value)
    • getPrincipal

      @Stability(Stable) @NotNull public String getPrincipal()
    • setPrincipal

      @Stability(Stable) public void setPrincipal(@NotNull String value)
    • getApplicationId

      @Stability(Stable) @Nullable public String getApplicationId()
    • setApplicationId

      @Stability(Stable) public void setApplicationId(@Nullable String value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)