@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppIntegrationsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for Amazon AppIntegrations to automatically ingest content.
Constructor and Description |
---|
AppIntegrationsConfiguration() |
Modifier and Type | Method and Description |
---|---|
AppIntegrationsConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAppIntegrationArn()
The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
|
List<String> |
getObjectFields()
The fields from the source that are made available to your agents in Wisdom.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppIntegrationArn(String appIntegrationArn)
The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
|
void |
setObjectFields(Collection<String> objectFields)
The fields from the source that are made available to your agents in Wisdom.
|
String |
toString()
Returns a string representation of this object.
|
AppIntegrationsConfiguration |
withAppIntegrationArn(String appIntegrationArn)
The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
|
AppIntegrationsConfiguration |
withObjectFields(Collection<String> objectFields)
The fields from the source that are made available to your agents in Wisdom.
|
AppIntegrationsConfiguration |
withObjectFields(String... objectFields)
The fields from the source that are made available to your agents in Wisdom.
|
public void setAppIntegrationArn(String appIntegrationArn)
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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
, s3:GetObject
, and
s3:GetBucketLocation
against the bucket.
appIntegrationArn
- 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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
,
s3:GetObject
, and s3:GetBucketLocation
against the bucket.
public String getAppIntegrationArn()
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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
, s3:GetObject
, and
s3:GetBucketLocation
against the bucket.
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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
,
s3:GetObject
, and s3:GetBucketLocation
against the bucket.
public AppIntegrationsConfiguration withAppIntegrationArn(String appIntegrationArn)
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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
, s3:GetObject
, and
s3:GetBucketLocation
against the bucket.
appIntegrationArn
- 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 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 Amazon Web Services principal
app-integrations.amazonaws.com
to perform s3:ListBucket
,
s3:GetObject
, and s3:GetBucketLocation
against the bucket.
public List<String> getObjectFields()
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.
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(Collection<String> 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
, 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.
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
, 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 AppIntegrationsConfiguration withObjectFields(String... 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
, 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.
NOTE: This method appends the values to the existing list (if any). Use
setObjectFields(java.util.Collection)
or withObjectFields(java.util.Collection)
if you want to
override the existing values.
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
, 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 AppIntegrationsConfiguration withObjectFields(Collection<String> 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
, 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.
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
, 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 String toString()
toString
in class Object
Object.toString()
public AppIntegrationsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.