Interface UpdateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> OpenSearchRequest.Builder
,SdkBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApplicationRequest
public static interface UpdateApplicationRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdateApplicationRequest.Builder,UpdateApplicationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionappConfigs
(Collection<AppConfig> appConfigs) Configurations to be changed for the OpenSearch Application.appConfigs
(Consumer<AppConfig.Builder>... appConfigs) Configurations to be changed for the OpenSearch Application.appConfigs
(AppConfig... appConfigs) Configurations to be changed for the OpenSearch Application.dataSources
(Collection<DataSource> dataSources) Data sources to be associated with the OpenSearch Application.dataSources
(Consumer<DataSource.Builder>... dataSources) Data sources to be associated with the OpenSearch Application.dataSources
(DataSource... dataSources) Data sources to be associated with the OpenSearch Application.Unique identifier of 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
Unique identifier of the OpenSearch Application to be updated.
- Parameters:
id
- Unique identifier of the OpenSearch Application to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
Data sources to be associated with the OpenSearch Application.
- Parameters:
dataSources
- Data sources to be associated with the OpenSearch Application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
Data sources to be associated with the OpenSearch Application.
- Parameters:
dataSources
- Data sources to be associated with the OpenSearch Application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
Data sources to be associated 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
Configurations to be changed for the OpenSearch Application.
- Parameters:
appConfigs
- Configurations to be changed for the OpenSearch Application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appConfigs
Configurations to be changed for the OpenSearch Application.
- Parameters:
appConfigs
- Configurations to be changed for the OpenSearch Application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appConfigs
Configurations to be changed 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.
-