Interface ListDatasetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDatasetsResponse.Builder,,ListDatasetsResponse> FinspaceDataResponse.Builder,SdkBuilder<ListDatasetsResponse.Builder,,ListDatasetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDatasetsResponse
@Mutable
@NotThreadSafe
public static interface ListDatasetsResponse.Builder
extends FinspaceDataResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetsResponse.Builder,ListDatasetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatasets(Collection<Dataset> datasets) List of Datasets.datasets(Consumer<Dataset.Builder>... datasets) List of Datasets.List of Datasets.A token that indicates where a results page should begin.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.finspacedata.model.FinspaceDataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
datasets
List of Datasets.
- Parameters:
datasets- List of Datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
List of Datasets.
- Parameters:
datasets- List of Datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasets
List of Datasets.
This is a convenience method that creates an instance of theDataset.Builderavoiding the need to create one manually viaDataset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasets(List<Dataset>).- Parameters:
datasets- a consumer that will call methods onDataset.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates where a results page should begin.
- Parameters:
nextToken- A token that indicates where a results page should begin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-