Interface ListDatasetGroupsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListDatasetGroupsResponse.Builder,,- ListDatasetGroupsResponse> - PersonalizeResponse.Builder,- SdkBuilder<ListDatasetGroupsResponse.Builder,,- ListDatasetGroupsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListDatasetGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListDatasetGroupsResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListDatasetGroupsResponse.Builder,ListDatasetGroupsResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
datasetGroupsThe 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.
 
- 
datasetGroupsThe 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.
 
- 
datasetGroupsListDatasetGroupsResponse.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 todatasetGroups(List<DatasetGroupSummary>).- Parameters:
- datasetGroups- a consumer that will call methods on- DatasetGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenA 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.
 
 
-