Interface ListTrainingDatasetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsMlResponse.Builder,CopyableBuilder<ListTrainingDatasetsResponse.Builder,,ListTrainingDatasetsResponse> SdkBuilder<ListTrainingDatasetsResponse.Builder,,ListTrainingDatasetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTrainingDatasetsResponse
public static interface ListTrainingDatasetsResponse.Builder
extends CleanRoomsMlResponse.Builder, SdkPojo, CopyableBuilder<ListTrainingDatasetsResponse.Builder,ListTrainingDatasetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token value retrieved from a previous call 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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token value retrieved from a previous call to access the next page of results.
- Parameters:
nextToken- The token value retrieved from a previous call 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.Builderavoiding the need to create one manually viaTrainingDatasetSummary.builder().When the
Consumercompletes,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:
-