public static interface UpdateDataSourceRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
| Modifier and Type | Method and Description |
|---|---|
default UpdateDataSourceRequest.Builder |
configuration(Consumer<DataSourceConfiguration.Builder> configuration)
Sets the value of the Configuration property for this object.
|
UpdateDataSourceRequest.Builder |
configuration(DataSourceConfiguration configuration)
Sets the value of the Configuration property for this object.
|
UpdateDataSourceRequest.Builder |
description(String description)
The new description for the data source.
|
UpdateDataSourceRequest.Builder |
id(String id)
The unique identifier of the data source to update.
|
UpdateDataSourceRequest.Builder |
indexId(String indexId)
The identifier of the index that contains the data source to update.
|
UpdateDataSourceRequest.Builder |
name(String name)
The name of the data source to update.
|
UpdateDataSourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateDataSourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateDataSourceRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your
behalf.
|
UpdateDataSourceRequest.Builder |
schedule(String schedule)
The new update schedule for the data source.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDataSourceRequest.Builder id(String id)
The unique identifier of the data source to update.
id - The unique identifier of the data source to update.UpdateDataSourceRequest.Builder name(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.UpdateDataSourceRequest.Builder indexId(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.UpdateDataSourceRequest.Builder configuration(DataSourceConfiguration configuration)
configuration - The new value for the Configuration property for this object.default UpdateDataSourceRequest.Builder configuration(Consumer<DataSourceConfiguration.Builder> configuration)
DataSourceConfiguration.Builder avoiding the
need to create one manually via DataSourceConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to configuration(DataSourceConfiguration).configuration - a consumer that will call methods on DataSourceConfiguration.Builderconfiguration(DataSourceConfiguration)UpdateDataSourceRequest.Builder description(String description)
The new description for the data source.
description - The new description for the data source.UpdateDataSourceRequest.Builder schedule(String schedule)
The new update schedule for the data source.
schedule - The new update schedule for the data source.UpdateDataSourceRequest.Builder roleArn(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.UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.