Interface ListDataSourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourcesResponse.Builder,,ListDataSourcesResponse> OpenSearchResponse.Builder,SdkBuilder<ListDataSourcesResponse.Builder,,ListDataSourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDataSourcesResponse
public static interface ListDataSourcesResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataSources(Collection<DataSourceDetails> dataSources) A list of data sources associated with specified domain.dataSources(Consumer<DataSourceDetails.Builder>... dataSources) A list of data sources associated with specified domain.dataSources(DataSourceDetails... dataSources) A list of data sources associated with specified domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dataSources
A list of data sources associated with specified domain.
- Parameters:
dataSources- A list of data sources associated with specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
A list of data sources associated with specified domain.
- Parameters:
dataSources- A list of data sources associated with specified domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
A list of data sources associated with specified domain.
This is a convenience method that creates an instance of theDataSourceDetails.Builderavoiding the need to create one manually viaDataSourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSources(List<DataSourceDetails>).- Parameters:
dataSources- a consumer that will call methods onDataSourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-