Interface ListModelsResponse.Builder

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

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

    • nextToken

      ListModelsResponse.Builder nextToken(String nextToken)

      An opaque pagination token indicating where to continue the listing of machine learning models.

      Parameters:
      nextToken - An opaque pagination token indicating where to continue the listing of machine learning models.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelSummaries

      ListModelsResponse.Builder modelSummaries(Collection<ModelSummary> modelSummaries)

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

      Parameters:
      modelSummaries - Provides information on the specified model, including created time, model and dataset ARNs, and status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelSummaries

      ListModelsResponse.Builder modelSummaries(ModelSummary... modelSummaries)

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

      Parameters:
      modelSummaries - Provides information on the specified model, including created time, model and dataset ARNs, and status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelSummaries

      ListModelsResponse.Builder modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries)

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

      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 modelSummaries(List<ModelSummary>).

      Parameters:
      modelSummaries - 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: