Interface UpdateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDataSourceRequest.Builder,,UpdateDataSourceRequest> OpenSearchRequest.Builder,SdkBuilder<UpdateDataSourceRequest.Builder,,UpdateDataSourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDataSourceRequest
@Mutable
@NotThreadSafe
public static interface UpdateDataSourceRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<UpdateDataSourceRequest.Builder,UpdateDataSourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateDataSourceRequest.BuilderdataSourceType(Consumer<DataSourceType.Builder> dataSourceType) The type of data source.dataSourceType(DataSourceType dataSourceType) The type of data source.description(String description) A new description of the data source.domainName(String domainName) The name of the domain.The name of the data source to modify.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The status of the data source update.status(DataSourceStatus status) The status of the data source update.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The name of the domain.
- Parameters:
domainName- The name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the data source to modify.
- Parameters:
name- The name of the data source to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceType
The type of data source.
- Parameters:
dataSourceType- The type of data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceType
default UpdateDataSourceRequest.Builder dataSourceType(Consumer<DataSourceType.Builder> dataSourceType) The type of data source.
This is a convenience method that creates an instance of theDataSourceType.Builderavoiding the need to create one manually viaDataSourceType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSourceType(DataSourceType).- Parameters:
dataSourceType- a consumer that will call methods onDataSourceType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A new description of the data source.
- Parameters:
description- A new description of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the data source update.
- Parameters:
status- The status of the data source update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the data source update.
- Parameters:
status- The status of the data source update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-