Interface ListDatasetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDatasetGroupsResponse.Builder,
,ListDatasetGroupsResponse> PersonalizeResponse.Builder
,SdkBuilder<ListDatasetGroupsResponse.Builder,
,ListDatasetGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDatasetGroupsResponse
public static interface ListDatasetGroupsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetGroups
(Collection<DatasetGroupSummary> datasetGroups) The list of your dataset groups.datasetGroups
(Consumer<DatasetGroupSummary.Builder>... datasetGroups) The list of your dataset groups.datasetGroups
(DatasetGroupSummary... datasetGroups) The list of your dataset groups.A token for getting the next set of dataset groups (if they exist).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
datasetGroups
The list of your dataset groups.
- Parameters:
datasetGroups
- The list of your dataset groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroups
The list of your dataset groups.
- Parameters:
datasetGroups
- The list of your dataset groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetGroups
ListDatasetGroupsResponse.Builder datasetGroups(Consumer<DatasetGroupSummary.Builder>... datasetGroups) The list of your dataset groups.
This is a convenience method that creates an instance of theDatasetGroupSummary.Builder
avoiding the need to create one manually viaDatasetGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetGroups(List<DatasetGroupSummary>)
.- Parameters:
datasetGroups
- a consumer that will call methods onDatasetGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token for getting the next set of dataset groups (if they exist).
- Parameters:
nextToken
- A token for getting the next set of dataset groups (if they exist).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-