@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDataSourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDataSourceRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDataSourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DataSourceConfiguration |
getConfiguration()
Configuration information for an Amazon Kendra data source.
|
CustomDocumentEnrichmentConfiguration |
getCustomDocumentEnrichmentConfiguration()
Configuration information for altering document metadata and content during the document ingestion process when
you update a data source.
|
String |
getDescription()
The new description for the data source.
|
String |
getId()
The unique identifier of the data source to update.
|
String |
getIndexId()
The identifier of the index that contains the data source to update.
|
String |
getLanguageCode()
The code for a language.
|
String |
getName()
The name of the data source to update.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
String |
getSchedule()
The new update schedule for the data source.
|
int |
hashCode() |
void |
setConfiguration(DataSourceConfiguration configuration)
Configuration information for an Amazon Kendra data source.
|
void |
setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when
you update a data source.
|
void |
setDescription(String description)
The new description for the data source.
|
void |
setId(String id)
The unique identifier of the data source to update.
|
void |
setIndexId(String indexId)
The identifier of the index that contains the data source to update.
|
void |
setLanguageCode(String languageCode)
The code for a language.
|
void |
setName(String name)
The name of the data source to update.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
void |
setSchedule(String schedule)
The new update schedule for the data source.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDataSourceRequest |
withConfiguration(DataSourceConfiguration configuration)
Configuration information for an Amazon Kendra data source.
|
UpdateDataSourceRequest |
withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when
you update a data source.
|
UpdateDataSourceRequest |
withDescription(String description)
The new description for the data source.
|
UpdateDataSourceRequest |
withId(String id)
The unique identifier of the data source to update.
|
UpdateDataSourceRequest |
withIndexId(String indexId)
The identifier of the index that contains the data source to update.
|
UpdateDataSourceRequest |
withLanguageCode(String languageCode)
The code for a language.
|
UpdateDataSourceRequest |
withName(String name)
The name of the data source to update.
|
UpdateDataSourceRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
|
UpdateDataSourceRequest |
withSchedule(String schedule)
The new update schedule for the data source.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The unique identifier of the data source to update.
id
- The unique identifier of the data source to update.public String getId()
The unique identifier of the data source to update.
public UpdateDataSourceRequest withId(String id)
The unique identifier of the data source to update.
id
- The unique identifier of the data source to update.public void setName(String name)
The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.
name
- The name of the data source to update. The name of the data source can't be updated. To rename a data
source you must delete the data source and re-create it.public String getName()
The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.
public UpdateDataSourceRequest withName(String name)
The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.
name
- The name of the data source to update. The name of the data source can't be updated. To rename a data
source you must delete the data source and re-create it.public void setIndexId(String indexId)
The identifier of the index that contains the data source to update.
indexId
- The identifier of the index that contains the data source to update.public String getIndexId()
The identifier of the index that contains the data source to update.
public UpdateDataSourceRequest withIndexId(String indexId)
The identifier of the index that contains the data source to update.
indexId
- The identifier of the index that contains the data source to update.public void setConfiguration(DataSourceConfiguration configuration)
Configuration information for an Amazon Kendra data source.
configuration
- Configuration information for an Amazon Kendra data source.public DataSourceConfiguration getConfiguration()
Configuration information for an Amazon Kendra data source.
public UpdateDataSourceRequest withConfiguration(DataSourceConfiguration configuration)
Configuration information for an Amazon Kendra data source.
configuration
- Configuration information for an Amazon Kendra data source.public void setDescription(String description)
The new description for the data source.
description
- The new description for the data source.public String getDescription()
The new description for the data source.
public UpdateDataSourceRequest withDescription(String description)
The new description for the data source.
description
- The new description for the data source.public void setSchedule(String schedule)
The new update schedule for the data source.
schedule
- The new update schedule for the data source.public String getSchedule()
The new update schedule for the data source.
public UpdateDataSourceRequest withSchedule(String schedule)
The new update schedule for the data source.
schedule
- The new update schedule for the data source.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your
behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
public UpdateDataSourceRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your
behalf.public void setLanguageCode(String languageCode)
The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This allows you to support a language for all documents when updating the data
source. English is supported by default. For more information on supported languages, including their
codes, see Adding
documents in languages other than English.public String getLanguageCode()
The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
public UpdateDataSourceRequest withLanguageCode(String languageCode)
The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
languageCode
- The code for a language. This allows you to support a language for all documents when updating the data
source. English is supported by default. For more information on supported languages, including their
codes, see Adding
documents in languages other than English.public void setCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you update a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
customDocumentEnrichmentConfiguration
- Configuration information for altering document metadata and content during the document ingestion process
when you update a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
public CustomDocumentEnrichmentConfiguration getCustomDocumentEnrichmentConfiguration()
Configuration information for altering document metadata and content during the document ingestion process when you update a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
public UpdateDataSourceRequest withCustomDocumentEnrichmentConfiguration(CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration)
Configuration information for altering document metadata and content during the document ingestion process when you update a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
customDocumentEnrichmentConfiguration
- Configuration information for altering document metadata and content during the document ingestion process
when you update a data source.
For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
public String toString()
toString
in class Object
Object.toString()
public UpdateDataSourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()