Interface ListDataSourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,OpenSearchResponse.Builder,SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSourcesResponse
@Mutable @NotThreadSafe public static interface ListDataSourcesResponse.Builder extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourcesResponse.BuilderdataSources(Collection<DataSourceDetails> dataSources)A list of data sources associated with specified domain.ListDataSourcesResponse.BuilderdataSources(Consumer<DataSourceDetails.Builder>... dataSources)A list of data sources associated with specified domain.ListDataSourcesResponse.BuilderdataSources(DataSourceDetails... dataSources)A list of data sources associated with specified domain.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataSources
ListDataSourcesResponse.Builder dataSources(Collection<DataSourceDetails> 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
ListDataSourcesResponse.Builder dataSources(DataSourceDetails... 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
ListDataSourcesResponse.Builder dataSources(Consumer<DataSourceDetails.Builder>... 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 to#dataSources(List.) - 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:
#dataSources(java.util.Collection)
-
-