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 subsequentListTrainedModelVersionsrequest 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, 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The pagination token to use in a subsequent
ListTrainedModelVersionsrequest 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 subsequentListTrainedModelVersionsrequest 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.Builderavoiding the need to create one manually viaTrainedModelSummary.builder().When the
Consumercompletes,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:
-