Interface ListModelsResponse.Builder

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

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

    • models

      A list of model versions in the specified project.

      Parameters:
      models - A list of model versions in the specified project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • models

      A list of model versions in the specified project.

      Parameters:
      models - A list of model versions in the specified project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • models

      A list of model versions in the specified project.

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

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

      Parameters:
      models - a consumer that will call methods on ModelMetadata.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, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.

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