public static interface UpdateDataSourceRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
build
overrideConfiguration
copy
applyMutation, 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 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 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 AWS Lambda configuration.
lambdaConfig
- The new AWS Lambda configuration.default UpdateDataSourceRequest.Builder lambdaConfig(Consumer<LambdaDataSourceConfig.Builder> lambdaConfig)
The new AWS 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 Service configuration.
elasticsearchConfig
- The new Elasticsearch Service configuration.default UpdateDataSourceRequest.Builder elasticsearchConfig(Consumer<ElasticsearchDataSourceConfig.Builder> elasticsearchConfig)
The new Elasticsearch Service 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 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 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.Builder
httpConfig(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 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.Builder
relationalDatabaseConfig(RelationalDatabaseDataSourceConfig)
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.