Class CfnKnowledgeBase.AppIntegrationsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnKnowledgeBase.AppIntegrationsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.AppIntegrationsConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBase.AppIntegrationsConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.AppIntegrationsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.AppIntegrationsConfigurationProperty>
A builder for
CfnKnowledgeBase.AppIntegrationsConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappIntegrationArn
(String appIntegrationArn) build()
Builds the configured instance.objectFields
(List<String> objectFields) Sets the value ofCfnKnowledgeBase.AppIntegrationsConfigurationProperty.getObjectFields()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appIntegrationArn
@Stability(Stable) public CfnKnowledgeBase.AppIntegrationsConfigurationProperty.Builder appIntegrationArn(String appIntegrationArn) - Parameters:
appIntegrationArn
- The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. This parameter is required.- For Salesforce , your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
Id
,ArticleNumber
,VersionNumber
,Title
,PublishStatus
, andIsDeleted
as source fields. - For ServiceNow , your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
number
,short_description
,sys_mod_count
,workflow_state
, andactive
as source fields. - For Zendesk , your AppIntegrations DataIntegration must have an ObjectConfiguration if
objectFields
is not provided, including at leastid
,title
,updated_at
, anddraft
as source fields. - For SharePoint , your AppIntegrations DataIntegration must have a FileConfiguration, including only file extensions that are among
docx
,pdf
,html
,htm
, andtxt
. - For Amazon S3 , the ObjectConfiguration and FileConfiguration of your AppIntegrations DataIntegration must be null. The
SourceURI
of your DataIntegration must use the following format:s3://your_s3_bucket_name
.
The bucket policy of the corresponding S3 bucket must allow the AWS principal
app-integrations.amazonaws.com
to performs3:ListBucket
,s3:GetObject
, ands3:GetBucketLocation
against the bucket.- For Salesforce , your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not provided, including at least
- Returns:
this
-
objectFields
@Stability(Stable) public CfnKnowledgeBase.AppIntegrationsConfigurationProperty.Builder objectFields(List<String> objectFields) Sets the value ofCfnKnowledgeBase.AppIntegrationsConfigurationProperty.getObjectFields()
- Parameters:
objectFields
- The fields from the source that are made available to your agents in Amazon Q in Connect. Optional if ObjectConfiguration is included in the provided DataIntegration.- For Salesforce , you must include at least
Id
,ArticleNumber
,VersionNumber
,Title
,PublishStatus
, andIsDeleted
. - For ServiceNow , you must include at least
number
,short_description
,sys_mod_count
,workflow_state
, andactive
. - For Zendesk , you must include at least
id
,title
,updated_at
, anddraft
.
Make sure to include additional fields. These fields are indexed and used to source recommendations.
- For Salesforce , you must include at least
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBase.AppIntegrationsConfigurationProperty>
- Returns:
- a new instance of
CfnKnowledgeBase.AppIntegrationsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-