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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDatasetGroupsResponse.BuilderdatasetGroups(Collection<DatasetGroupSummary> datasetGroups)The list of your dataset groups.ListDatasetGroupsResponse.BuilderdatasetGroups(Consumer<DatasetGroupSummary.Builder>... datasetGroups)The list of your dataset groups.ListDatasetGroupsResponse.BuilderdatasetGroups(DatasetGroupSummary... datasetGroups)The list of your dataset groups.ListDatasetGroupsResponse.BuildernextToken(String nextToken)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 Detail
-
datasetGroups
ListDatasetGroupsResponse.Builder datasetGroups(Collection<DatasetGroupSummary> 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(DatasetGroupSummary... 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.Builderavoiding the need to create one manually viaDatasetGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#datasetGroups(List.) - 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:
#datasetGroups(java.util.Collection)
-
nextToken
ListDatasetGroupsResponse.Builder nextToken(String 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.
-
-