Interface ListTrainedModelVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CleanRoomsMlResponse.Builder
,CopyableBuilder<ListTrainedModelVersionsResponse.Builder,
,ListTrainedModelVersionsResponse> SdkBuilder<ListTrainedModelVersionsResponse.Builder,
,ListTrainedModelVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTrainedModelVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token to use in a subsequentListTrainedModelVersions
request to retrieve the next page of results.trainedModels
(Collection<TrainedModelSummary> trainedModels) A list of trained model versions that match the specified criteria.trainedModels
(Consumer<TrainedModelSummary.Builder>... trainedModels) A list of trained model versions that match the specified criteria.trainedModels
(TrainedModelSummary... trainedModels) A list of trained model versions that match the specified criteria.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 pagination token to use in a subsequent
ListTrainedModelVersions
request to retrieve the next page of results. This value is null when there are no more results to return.- Parameters:
nextToken
- The pagination token to use in a subsequentListTrainedModelVersions
request to retrieve the next page of results. This value is null when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainedModels
ListTrainedModelVersionsResponse.Builder trainedModels(Collection<TrainedModelSummary> trainedModels) A list of trained model versions that match the specified criteria. Each entry contains summary information about a trained model version, including its version identifier, status, and creation details.
- Parameters:
trainedModels
- A list of trained model versions that match the specified criteria. Each entry contains summary information about a trained model version, including its version identifier, status, and creation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainedModels
A list of trained model versions that match the specified criteria. Each entry contains summary information about a trained model version, including its version identifier, status, and creation details.
- Parameters:
trainedModels
- A list of trained model versions that match the specified criteria. Each entry contains summary information about a trained model version, including its version identifier, status, and creation details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainedModels
ListTrainedModelVersionsResponse.Builder trainedModels(Consumer<TrainedModelSummary.Builder>... trainedModels) A list of trained model versions that match the specified criteria. Each entry contains summary information about a trained model version, including its version identifier, status, and creation details.
This is a convenience method that creates an instance of theTrainedModelSummary.Builder
avoiding the need to create one manually viaTrainedModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainedModels(List<TrainedModelSummary>)
.- Parameters:
trainedModels
- a consumer that will call methods onTrainedModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-