Interface UpdateDataSourceRequest.Builder
-
- All Superinterfaces:
AppSyncRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
,SdkBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateDataSourceRequest
public static interface UpdateDataSourceRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
apiId
UpdateDataSourceRequest.Builder apiId(String apiId)
The API ID.
- Parameters:
apiId
- The API ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateDataSourceRequest.Builder name(String name)
The new name for the data source.
- Parameters:
name
- The new name for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateDataSourceRequest.Builder description(String description)
The new description for the data source.
- Parameters:
description
- The new description for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
UpdateDataSourceRequest.Builder type(String type)
The new data source type.
- Parameters:
type
- The new data source type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceType
,DataSourceType
-
type
UpdateDataSourceRequest.Builder type(DataSourceType type)
The new data source type.
- Parameters:
type
- The new data source type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceType
,DataSourceType
-
serviceRoleArn
UpdateDataSourceRequest.Builder serviceRoleArn(String serviceRoleArn)
The new service role Amazon Resource Name (ARN) for the data source.
- Parameters:
serviceRoleArn
- The new service role Amazon Resource Name (ARN) for the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamodbConfig
UpdateDataSourceRequest.Builder dynamodbConfig(DynamodbDataSourceConfig dynamodbConfig)
The new Amazon DynamoDB configuration.
- Parameters:
dynamodbConfig
- The new Amazon DynamoDB configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dynamodbConfig
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 viaDynamodbDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todynamodbConfig(DynamodbDataSourceConfig)
.- Parameters:
dynamodbConfig
- a consumer that will call methods onDynamodbDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dynamodbConfig(DynamodbDataSourceConfig)
-
lambdaConfig
UpdateDataSourceRequest.Builder lambdaConfig(LambdaDataSourceConfig lambdaConfig)
The new Lambda configuration.
- Parameters:
lambdaConfig
- The new Lambda configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaConfig
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 viaLambdaDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaConfig(LambdaDataSourceConfig)
.- Parameters:
lambdaConfig
- a consumer that will call methods onLambdaDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lambdaConfig(LambdaDataSourceConfig)
-
elasticsearchConfig
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticsearchConfig
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 viaElasticsearchDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticsearchConfig(ElasticsearchDataSourceConfig)
.- Parameters:
elasticsearchConfig
- a consumer that will call methods onElasticsearchDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
elasticsearchConfig(ElasticsearchDataSourceConfig)
-
openSearchServiceConfig
UpdateDataSourceRequest.Builder openSearchServiceConfig(OpenSearchServiceDataSourceConfig openSearchServiceConfig)
The new OpenSearch configuration.
- Parameters:
openSearchServiceConfig
- The new OpenSearch configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openSearchServiceConfig
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 viaOpenSearchServiceDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenSearchServiceConfig(OpenSearchServiceDataSourceConfig)
.- Parameters:
openSearchServiceConfig
- a consumer that will call methods onOpenSearchServiceDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
openSearchServiceConfig(OpenSearchServiceDataSourceConfig)
-
httpConfig
UpdateDataSourceRequest.Builder httpConfig(HttpDataSourceConfig httpConfig)
The new HTTP endpoint configuration.
- Parameters:
httpConfig
- The new HTTP endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpConfig
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 viaHttpDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpConfig(HttpDataSourceConfig)
.- Parameters:
httpConfig
- a consumer that will call methods onHttpDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
httpConfig(HttpDataSourceConfig)
-
relationalDatabaseConfig
UpdateDataSourceRequest.Builder relationalDatabaseConfig(RelationalDatabaseDataSourceConfig relationalDatabaseConfig)
The new relational database configuration.
- Parameters:
relationalDatabaseConfig
- The new relational database configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationalDatabaseConfig
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 viaRelationalDatabaseDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelationalDatabaseConfig(RelationalDatabaseDataSourceConfig)
.- Parameters:
relationalDatabaseConfig
- a consumer that will call methods onRelationalDatabaseDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
relationalDatabaseConfig(RelationalDatabaseDataSourceConfig)
-
eventBridgeConfig
UpdateDataSourceRequest.Builder eventBridgeConfig(EventBridgeDataSourceConfig eventBridgeConfig)
The new Amazon EventBridge settings.
- Parameters:
eventBridgeConfig
- The new Amazon EventBridge settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBridgeConfig
default UpdateDataSourceRequest.Builder eventBridgeConfig(Consumer<EventBridgeDataSourceConfig.Builder> eventBridgeConfig)
The new Amazon EventBridge settings.
This is a convenience method that creates an instance of theEventBridgeDataSourceConfig.Builder
avoiding the need to create one manually viaEventBridgeDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBridgeConfig(EventBridgeDataSourceConfig)
.- Parameters:
eventBridgeConfig
- a consumer that will call methods onEventBridgeDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eventBridgeConfig(EventBridgeDataSourceConfig)
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-