Interface ListModelVersionsResponse.Builder

  • Method Details

    • nextToken

      If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in the NextToken field in the request to list the next page of results.

      Parameters:
      nextToken - If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in the NextToken field in the request to list the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersionSummaries

      ListModelVersionsResponse.Builder modelVersionSummaries(Collection<ModelVersionSummary> modelVersionSummaries)

      Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

      If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

      Parameters:
      modelVersionSummaries - Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

      If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersionSummaries

      ListModelVersionsResponse.Builder modelVersionSummaries(ModelVersionSummary... modelVersionSummaries)

      Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

      If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

      Parameters:
      modelVersionSummaries - Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

      If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersionSummaries

      ListModelVersionsResponse.Builder modelVersionSummaries(Consumer<ModelVersionSummary.Builder>... modelVersionSummaries)

      Provides information on the specified model version, including the created time, model and dataset ARNs, and status.

      If you don't supply the ModelName request parameter, or if you supply the name of a model that doesn't exist, ListModelVersions returns an empty array in ModelVersionSummaries.

      This is a convenience method that creates an instance of the ModelVersionSummary.Builder avoiding the need to create one manually via ModelVersionSummary.builder().

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

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