Interface ListModelsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>, SageMakerResponse.Builder, SdkBuilder<ListModelsResponse.Builder,ListModelsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListModelsResponse

public static interface ListModelsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
  • Method Details

    • models

      An array of ModelSummary objects, each of which lists a model.

      Parameters:
      models - An array of ModelSummary objects, each of which lists a model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • models

      An array of ModelSummary objects, each of which lists a model.

      Parameters:
      models - An array of ModelSummary objects, each of which lists a model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • models

      An array of ModelSummary objects, each of which lists a model.

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

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

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

      ListModelsResponse.Builder nextToken(String nextToken)

      If the response is truncated, SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.

      Parameters:
      nextToken - If the response is truncated, SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.