/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.connectwisdom.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configuration information for Amazon AppIntegrations to automatically ingest content. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AppIntegrationsConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. *
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not
* provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For Zendesk,
* your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
is not
* provided, including at least id
, title
, updated_at
, and draft
* as source fields.
*
* For
* SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* 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
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For Zendesk, you
* must include at least id
, title
, updated_at
, and draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations. *
*/ private java.util.List* The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. *
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not
* provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For Zendesk,
* your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
is not
* provided, including at least id
, title
, updated_at
, and draft
* as source fields.
*
* For
* SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is
* not provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For
* Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if
* objectFields
is not provided, including at least id
, title
,
* updated_at
, and draft
as source fields.
*
* For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. *
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not
* provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For Zendesk,
* your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
is not
* provided, including at least id
, title
, updated_at
, and draft
* as source fields.
*
* For
* SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
* is not provided, including at least Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For
* Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if
* objectFields
is not provided, including at least id
, title
,
* updated_at
, and draft
as source fields.
*
* For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content. *
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is not
* provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For Zendesk,
* your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields
is not
* provided, including at least id
, title
, updated_at
, and draft
* as source fields.
*
* For
* SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* For Salesforce, your AppIntegrations DataIntegration must have an ObjectConfiguration if objectFields is
* not provided, including at least Id
, ArticleNumber
, VersionNumber
,
* Title
, PublishStatus
, and IsDeleted
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
, and active
as source fields.
*
* For
* Zendesk, your AppIntegrations DataIntegration must have an ObjectConfiguration if
* objectFields
is not provided, including at least id
, title
,
* updated_at
, and draft
as source fields.
*
* For SharePoint, your AppIntegrations DataIntegration must have a FileConfiguration, including only file
* extensions that are among docx
, pdf
, html
, htm
, and
* txt
.
*
* 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
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For Zendesk, you
* must include at least id
, title
, updated_at
, and draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations. *
* * @return 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
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For
* Zendesk, you must include at least id
, title
, updated_at
, and
* draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
*/
public java.util.List
* 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
* For
* ServiceNow, you must include at least
* For Zendesk, you
* must include at least
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
*
*
* Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
* number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
* id
, title
, updated_at
, and draft
.
*
* For Salesforce, you must include at least Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For
* Zendesk, you must include at least id
, title
, updated_at
, and
* draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
*/
public void setObjectFields(java.util.Collection
* 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
* For
* ServiceNow, you must include at least
* For Zendesk, you
* must include at least
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setObjectFields(java.util.Collection)} or {@link #withObjectFields(java.util.Collection)} if you want to
* override the existing values.
*
*
* Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
* number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
* id
, title
, updated_at
, and draft
.
*
* For Salesforce, you must include at least Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For
* Zendesk, you must include at least id
, title
, updated_at
, and
* draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AppIntegrationsConfiguration withObjectFields(String... objectFields) {
if (this.objectFields == null) {
setObjectFields(new java.util.ArrayList
* 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
* For
* ServiceNow, you must include at least
* For Zendesk, you
* must include at least
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
*
*
* Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
* number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
* id
, title
, updated_at
, and draft
.
*
* For Salesforce, you must include at least Id
, ArticleNumber
,
* VersionNumber
, Title
, PublishStatus
, and IsDeleted
.
*
* For
* ServiceNow, you must include at least number
, short_description
,
* sys_mod_count
, workflow_state
, and active
.
*
* For
* Zendesk, you must include at least id
, title
, updated_at
, and
* draft
.
*
* Make sure to include additional fields. These fields are indexed and used to source recommendations.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AppIntegrationsConfiguration withObjectFields(java.util.Collection