Interface UpdateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> OpenSearchRequest.Builder
,SdkBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApplicationRequest
@Mutable
@NotThreadSafe
public static interface UpdateApplicationRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdateApplicationRequest.Builder,UpdateApplicationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionappConfigs
(Collection<AppConfig> appConfigs) The configuration settings to modify for the OpenSearch application.appConfigs
(Consumer<AppConfig.Builder>... appConfigs) The configuration settings to modify for the OpenSearch application.appConfigs
(AppConfig... appConfigs) The configuration settings to modify for the OpenSearch application.dataSources
(Collection<DataSource> dataSources) The data sources to associate with the OpenSearch application.dataSources
(Consumer<DataSource.Builder>... dataSources) The data sources to associate with the OpenSearch application.dataSources
(DataSource... dataSources) The data sources to associate with the OpenSearch application.The unique identifier for the OpenSearch application to be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.opensearch.model.OpenSearchRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier for the OpenSearch application to be updated.
- Parameters:
id
- The unique identifier for the OpenSearch application to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
The data sources to associate with the OpenSearch application.
- Parameters:
dataSources
- The data sources to associate with the OpenSearch application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
The data sources to associate with the OpenSearch application.
- Parameters:
dataSources
- The data sources to associate with the OpenSearch application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
The data sources to associate with the OpenSearch application.
This is a convenience method that creates an instance of theDataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(List<DataSource>)
.- Parameters:
dataSources
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appConfigs
The configuration settings to modify for the OpenSearch application.
- Parameters:
appConfigs
- The configuration settings to modify for the OpenSearch application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appConfigs
The configuration settings to modify for the OpenSearch application.
- Parameters:
appConfigs
- The configuration settings to modify for the OpenSearch application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appConfigs
The configuration settings to modify for the OpenSearch application.
This is a convenience method that creates an instance of theAppConfig.Builder
avoiding the need to create one manually viaAppConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappConfigs(List<AppConfig>)
.- Parameters:
appConfigs
- a consumer that will call methods onAppConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-