public static interface UpdateDataSourceRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDataSourceRequest.Builder apiId(String apiId)
The API ID.
apiId - The API ID.UpdateDataSourceRequest.Builder name(String name)
The new name for the data source.
name - The new name for the data source.UpdateDataSourceRequest.Builder description(String description)
The new description for the data source.
description - The new description for the data source.UpdateDataSourceRequest.Builder type(String type)
The new data source type.
type - The new data source type.DataSourceType,
DataSourceTypeUpdateDataSourceRequest.Builder type(DataSourceType type)
The new data source type.
type - The new data source type.DataSourceType,
DataSourceTypeUpdateDataSourceRequest.Builder serviceRoleArn(String serviceRoleArn)
The new service role Amazon Resource Name (ARN) for the data source.
serviceRoleArn - The new service role Amazon Resource Name (ARN) for the data source.UpdateDataSourceRequest.Builder dynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new Amazon DynamoDB configuration.
dynamodbConfig - The new Amazon DynamoDB configuration.default UpdateDataSourceRequest.Builder dynamodbConfig(Consumer<DynamodbDataSourceConfig.Builder> dynamodbConfig)
The new Amazon DynamoDB configuration.
This is a convenience method that creates an instance of theDynamodbDataSourceConfig.Builder
avoiding the need to create one manually via DynamodbDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to dynamodbConfig(DynamodbDataSourceConfig).dynamodbConfig - a consumer that will call methods on DynamodbDataSourceConfig.BuilderdynamodbConfig(DynamodbDataSourceConfig)UpdateDataSourceRequest.Builder lambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
lambdaConfig - The new Lambda configuration.default UpdateDataSourceRequest.Builder lambdaConfig(Consumer<LambdaDataSourceConfig.Builder> lambdaConfig)
The new Lambda configuration.
This is a convenience method that creates an instance of theLambdaDataSourceConfig.Builder avoiding
the need to create one manually via LambdaDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to lambdaConfig(LambdaDataSourceConfig).lambdaConfig - a consumer that will call methods on LambdaDataSourceConfig.BuilderlambdaConfig(LambdaDataSourceConfig)UpdateDataSourceRequest.Builder elasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
elasticsearchConfig - The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
default UpdateDataSourceRequest.Builder elasticsearchConfig(Consumer<ElasticsearchDataSourceConfig.Builder> elasticsearchConfig)
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
This is a convenience method that creates an instance of theElasticsearchDataSourceConfig.Builder
avoiding the need to create one manually via ElasticsearchDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to elasticsearchConfig(ElasticsearchDataSourceConfig).elasticsearchConfig - a consumer that will call methods on ElasticsearchDataSourceConfig.BuilderelasticsearchConfig(ElasticsearchDataSourceConfig)UpdateDataSourceRequest.Builder openSearchServiceConfig(OpenSearchServiceDataSourceConfig openSearchServiceConfig)
The new OpenSearch configuration.
openSearchServiceConfig - The new OpenSearch configuration.default UpdateDataSourceRequest.Builder openSearchServiceConfig(Consumer<OpenSearchServiceDataSourceConfig.Builder> openSearchServiceConfig)
The new OpenSearch configuration.
This is a convenience method that creates an instance of theOpenSearchServiceDataSourceConfig.Builder avoiding the need to create one manually via
OpenSearchServiceDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to openSearchServiceConfig(OpenSearchServiceDataSourceConfig).openSearchServiceConfig - a consumer that will call methods on OpenSearchServiceDataSourceConfig.BuilderopenSearchServiceConfig(OpenSearchServiceDataSourceConfig)UpdateDataSourceRequest.Builder httpConfig(HttpDataSourceConfig httpConfig)
The new HTTP endpoint configuration.
httpConfig - The new HTTP endpoint configuration.default UpdateDataSourceRequest.Builder httpConfig(Consumer<HttpDataSourceConfig.Builder> httpConfig)
The new HTTP endpoint configuration.
This is a convenience method that creates an instance of theHttpDataSourceConfig.Builder avoiding
the need to create one manually via HttpDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to httpConfig(HttpDataSourceConfig).httpConfig - a consumer that will call methods on HttpDataSourceConfig.BuilderhttpConfig(HttpDataSourceConfig)UpdateDataSourceRequest.Builder relationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
The new relational database configuration.
relationalDatabaseConfig - The new relational database configuration.default UpdateDataSourceRequest.Builder relationalDatabaseConfig(Consumer<RelationalDatabaseDataSourceConfig.Builder> relationalDatabaseConfig)
The new relational database configuration.
This is a convenience method that creates an instance of theRelationalDatabaseDataSourceConfig.Builder avoiding the need to create one manually via
RelationalDatabaseDataSourceConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to relationalDatabaseConfig(RelationalDatabaseDataSourceConfig)
.relationalDatabaseConfig - a consumer that will call methods on RelationalDatabaseDataSourceConfig.BuilderrelationalDatabaseConfig(RelationalDatabaseDataSourceConfig)UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.