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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTrainingDatasetsResponse.BuildernextToken(String nextToken)The token value retrieved from a previous call to access the next page of results.ListTrainingDatasetsResponse.BuildertrainingDatasets(Collection<TrainingDatasetSummary> trainingDatasets)The training datasets that match the request.ListTrainingDatasetsResponse.BuildertrainingDatasets(Consumer<TrainingDatasetSummary.Builder>... trainingDatasets)The training datasets that match the request.ListTrainingDatasetsResponse.BuildertrainingDatasets(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListTrainingDatasetsResponse.Builder nextToken(String 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
ListTrainingDatasetsResponse.Builder trainingDatasets(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
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 to#trainingDatasets(List.) - 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:
#trainingDatasets(java.util.Collection)
-
-