Interface ListModelsResponse.Builder

    • Method Detail

      • 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).

        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:
        #modelSummaries(java.util.Collection)