public static interface CreateDataSourceRequest.Builder extends AppSyncRequest.Builder, CopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>
buildrequestOverrideConfigcopyapply, buildCreateDataSourceRequest.Builder apiId(String apiId)
The API ID for the GraphQL API for the DataSource.
apiId - The API ID for the GraphQL API for the DataSource.CreateDataSourceRequest.Builder name(String name)
A user-supplied name for the DataSource.
name - A user-supplied name for the DataSource.CreateDataSourceRequest.Builder description(String description)
A description of the DataSource.
description - A description of the DataSource.CreateDataSourceRequest.Builder type(String type)
The type of the DataSource.
type - The type of the DataSource.DataSourceType,
DataSourceTypeCreateDataSourceRequest.Builder type(DataSourceType type)
The type of the DataSource.
type - The type of the DataSource.DataSourceType,
DataSourceTypeCreateDataSourceRequest.Builder serviceRoleArn(String serviceRoleArn)
The IAM service role ARN for the data source. The system assumes this role when accessing the data source.
serviceRoleArn - The IAM service role ARN for the data source. The system assumes this role when accessing the data
source.CreateDataSourceRequest.Builder dynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
DynamoDB settings.
dynamodbConfig - DynamoDB settings.default CreateDataSourceRequest.Builder dynamodbConfig(Consumer<DynamodbDataSourceConfig.Builder> dynamodbConfig)
DynamoDB settings.
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.BuilderdynamodbConfig(DynamodbDataSourceConfig)CreateDataSourceRequest.Builder lambdaConfig(LambdaDataSourceConfig lambdaConfig)
AWS Lambda settings.
lambdaConfig - AWS Lambda settings.default CreateDataSourceRequest.Builder lambdaConfig(Consumer<LambdaDataSourceConfig.Builder> lambdaConfig)
AWS Lambda settings.
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.BuilderlambdaConfig(LambdaDataSourceConfig)CreateDataSourceRequest.Builder elasticsearchConfig(ElasticsearchDataSourceConfig elasticsearchConfig)
Amazon Elasticsearch settings.
elasticsearchConfig - Amazon Elasticsearch settings.default CreateDataSourceRequest.Builder elasticsearchConfig(Consumer<ElasticsearchDataSourceConfig.Builder> elasticsearchConfig)
Amazon Elasticsearch settings.
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.BuilderelasticsearchConfig(ElasticsearchDataSourceConfig)CreateDataSourceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateDataSourceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.