Class UpdateDataSourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kendra.model.KendraRequest
-
- software.amazon.awssdk.services.kendra.model.UpdateDataSourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDataSourceRequest extends KendraRequest implements ToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDataSourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDataSourceRequest.Builderbuilder()DataSourceConfigurationconfiguration()Configuration information you want to update for the data source connector.CustomDocumentEnrichmentConfigurationcustomDocumentEnrichmentConfiguration()Configuration information you want to update for altering document metadata and content during the document ingestion process.Stringdescription()A new description for the data source connector.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the data source connector you want to update.StringindexId()The identifier of the index used with the data source connector.StringlanguageCode()The code for a language you want to update for the data source connector.Stringname()A new name for the data source connector.StringroleArn()The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources.Stringschedule()The sync schedule you want to update for the data source connector.List<SdkField<?>>sdkFields()static Class<? extends UpdateDataSourceRequest.Builder>serializableBuilderClass()UpdateDataSourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.DataSourceVpcConfigurationvpcConfiguration()Configuration information for an Amazon Virtual Private Cloud to connect to your data source.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the data source connector you want to update.
- Returns:
- The identifier of the data source connector you want to update.
-
name
public final String name()
A new name for the data source connector.
- Returns:
- A new name for the data source connector.
-
indexId
public final String indexId()
The identifier of the index used with the data source connector.
- Returns:
- The identifier of the index used with the data source connector.
-
configuration
public final DataSourceConfiguration configuration()
Configuration information you want to update for the data source connector.
- Returns:
- Configuration information you want to update for the data source connector.
-
vpcConfiguration
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
- Returns:
- Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
-
description
public final String description()
A new description for the data source connector.
- Returns:
- A new description for the data source connector.
-
schedule
public final String schedule()
The sync schedule you want to update for the data source connector.
- Returns:
- The sync schedule you want to update for the data source connector.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.
- Returns:
- The Amazon Resource Name (ARN) of a role with permission to access the data source and required resources. For more information, see IAM roles for Amazon Kendra.
-
languageCode
public final String languageCode()
The code for a language you want to update for the data source connector. 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.
- Returns:
- The code for a language you want to update for the data source connector. 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.
-
customDocumentEnrichmentConfiguration
public final CustomDocumentEnrichmentConfiguration customDocumentEnrichmentConfiguration()
Configuration information you want to update for altering document metadata and content during the document 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.
- Returns:
- Configuration information you want to update for altering document metadata and content during the
document 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.
-
toBuilder
public UpdateDataSourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>- Specified by:
toBuilderin classKendraRequest
-
builder
public static UpdateDataSourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDataSourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-