public static interface UpdateDataSourceRequest.Builder extends AppSyncRequest.Builder, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
UpdateDataSourceRequest.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
,
DataSourceType
UpdateDataSourceRequest.Builder type(DataSourceType type)
The new data source type.
type
- The new data source type.DataSourceType
,
DataSourceType
UpdateDataSourceRequest.Builder serviceRoleArn(String serviceRoleArn)
The new service role ARN for the data source.
serviceRoleArn
- The new service role ARN for the data source.UpdateDataSourceRequest.Builder dynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new DynamoDB configuration.
dynamodbConfig
- The new DynamoDB configuration.default UpdateDataSourceRequest.Builder dynamodbConfig(Consumer<DynamodbDataSourceConfig.Builder> dynamodbConfig)
The new DynamoDB configuration.
This is a convenience 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.Builder
dynamodbConfig(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 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.Builder
lambdaConfig(LambdaDataSourceConfig)
UpdateDataSourceRequest.Builder elasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
The new Elasticsearch configuration.
elasticsearchConfig
- The new Elasticsearch configuration.default UpdateDataSourceRequest.Builder elasticsearchConfig(Consumer<ElasticsearchDataSourceConfig.Builder> elasticsearchConfig)
The new Elasticsearch configuration.
This is a convenience 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.Builder
elasticsearchConfig(ElasticsearchDataSourceConfig)
UpdateDataSourceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.