Interface ListTrainingDatasetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsMlResponse.Builder
,CopyableBuilder<ListTrainingDatasetsResponse.Builder,
,ListTrainingDatasetsResponse> SdkBuilder<ListTrainingDatasetsResponse.Builder,
,ListTrainingDatasetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrainingDatasetsResponse
@Mutable
@NotThreadSafe
public static interface ListTrainingDatasetsResponse.Builder
extends CleanRoomsMlResponse.Builder, SdkPojo, CopyableBuilder<ListTrainingDatasetsResponse.Builder,ListTrainingDatasetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token value used to access the next page of results.trainingDatasets
(Collection<TrainingDatasetSummary> trainingDatasets) The training datasets that match the request.trainingDatasets
(Consumer<TrainingDatasetSummary.Builder>... trainingDatasets) The training datasets that match the request.trainingDatasets
(TrainingDatasetSummary... trainingDatasets) The training datasets that match the request.Methods inherited from interface software.amazon.awssdk.services.cleanroomsml.model.CleanRoomsMlResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
nextToken
The token value used to access the next page of results.
- Parameters:
nextToken
- The token value used to access the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDatasets
ListTrainingDatasetsResponse.Builder trainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets) The training datasets that match the request.
- Parameters:
trainingDatasets
- The training datasets that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDatasets
The training datasets that match the request.
- Parameters:
trainingDatasets
- The training datasets that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDatasets
ListTrainingDatasetsResponse.Builder trainingDatasets(Consumer<TrainingDatasetSummary.Builder>... trainingDatasets) The training datasets that match the request.
This is a convenience method that creates an instance of theTrainingDatasetSummary.Builder
avoiding the need to create one manually viaTrainingDatasetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingDatasets(List<TrainingDatasetSummary>)
.- Parameters:
trainingDatasets
- a consumer that will call methods onTrainingDatasetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-