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 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 Wisdom. 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
-