Interface ListDataSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDataSetsResponse.Builder,
,ListDataSetsResponse> DataExchangeResponse.Builder
,SdkBuilder<ListDataSetsResponse.Builder,
,ListDataSetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDataSetsResponse
public static interface ListDataSetsResponse.Builder
extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<ListDataSetsResponse.Builder,ListDataSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataSets
(Collection<DataSetEntry> dataSets) The data set objects listed by the request.dataSets
(Consumer<DataSetEntry.Builder>... dataSets) The data set objects listed by the request.dataSets
(DataSetEntry... dataSets) The data set objects listed by the request.The token value retrieved from a previous call to access the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dataSets
The data set objects listed by the request.
- Parameters:
dataSets
- The data set objects listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data set objects listed by the request.
- Parameters:
dataSets
- The data set objects listed by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
The data set objects listed by the request.
This is a convenience method that creates an instance of theDataSetEntry.Builder
avoiding the need to create one manually viaDataSetEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSets(List<DataSetEntry>)
.- Parameters:
dataSets
- a consumer that will call methods onDataSetEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken
- The token value retrieved from a previous call to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-