Interface ListDataLakeDatasetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDataLakeDatasetsResponse.Builder,
,ListDataLakeDatasetsResponse> SdkBuilder<ListDataLakeDatasetsResponse.Builder,
,ListDataLakeDatasetsResponse> SdkPojo
,SdkResponse.Builder
,SupplyChainResponse.Builder
- Enclosing class:
ListDataLakeDatasetsResponse
@Mutable
@NotThreadSafe
public static interface ListDataLakeDatasetsResponse.Builder
extends SupplyChainResponse.Builder, SdkPojo, CopyableBuilder<ListDataLakeDatasetsResponse.Builder,ListDataLakeDatasetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatasets
(Collection<DataLakeDataset> datasets) The list of fetched dataset details.datasets
(Consumer<DataLakeDataset.Builder>... datasets) The list of fetched dataset details.datasets
(DataLakeDataset... datasets) The list of fetched dataset details.The pagination token to fetch next page of datasets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.supplychain.model.SupplyChainResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
datasets
The list of fetched dataset details.
- Parameters:
datasets
- The list of fetched dataset details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
The list of fetched dataset details.
- Parameters:
datasets
- The list of fetched dataset details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
The list of fetched dataset details.
This is a convenience method that creates an instance of theDataLakeDataset.Builder
avoiding the need to create one manually viaDataLakeDataset.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasets(List<DataLakeDataset>)
.- Parameters:
datasets
- a consumer that will call methods onDataLakeDataset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to fetch next page of datasets.
- Parameters:
nextToken
- The pagination token to fetch next page of datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-