Interface ListTrainedModelVersionsResponse.Builder

  • 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 subsequent ListTrainedModelVersions 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

      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

      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 the TrainedModelSummary.Builder avoiding the need to create one manually via TrainedModelSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trainedModels(List<TrainedModelSummary>).

      Parameters:
      trainedModels - a consumer that will call methods on TrainedModelSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: