Interface ListDataSetsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSetsResponse.Builder,ListDataSetsResponse>,M2Response.Builder,SdkBuilder<ListDataSetsResponse.Builder,ListDataSetsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSetsResponse
public static interface ListDataSetsResponse.Builder extends M2Response.Builder, SdkPojo, CopyableBuilder<ListDataSetsResponse.Builder,ListDataSetsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSetsResponse.BuilderdataSets(Collection<DataSetSummary> dataSets)The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.ListDataSetsResponse.BuilderdataSets(Consumer<DataSetSummary.Builder>... dataSets)The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.ListDataSetsResponse.BuilderdataSets(DataSetSummary... dataSets)The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.ListDataSetsResponse.BuildernextToken(String nextToken)If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Response.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 Detail
-
dataSets
ListDataSetsResponse.Builder dataSets(Collection<DataSetSummary> dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
- Parameters:
dataSets- The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
ListDataSetsResponse.Builder dataSets(DataSetSummary... dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
- Parameters:
dataSets- The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSets
ListDataSetsResponse.Builder dataSets(Consumer<DataSetSummary.Builder>... dataSets)
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
This is a convenience method that creates an instance of theDataSetSummary.Builderavoiding the need to create one manually viaDataSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSets(List.) - Parameters:
dataSets- a consumer that will call methods onDataSetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataSets(java.util.Collection)
-
nextToken
ListDataSetsResponse.Builder nextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
- Parameters:
nextToken- If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-