Interface ListModelsRequest.Builder

    • Method Detail

      • sortBy

        ListModelsRequest.Builder sortBy​(String sortBy)

        Sorts the list of results. The default is CreationTime.

        Parameters:
        sortBy - Sorts the list of results. The default is CreationTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelSortKey, ModelSortKey
      • sortBy

        ListModelsRequest.Builder sortBy​(ModelSortKey sortBy)

        Sorts the list of results. The default is CreationTime.

        Parameters:
        sortBy - Sorts the list of results. The default is CreationTime.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelSortKey, ModelSortKey
      • sortOrder

        ListModelsRequest.Builder sortOrder​(String sortOrder)

        The sort order for results. The default is Descending.

        Parameters:
        sortOrder - The sort order for results. The default is Descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OrderKey, OrderKey
      • sortOrder

        ListModelsRequest.Builder sortOrder​(OrderKey sortOrder)

        The sort order for results. The default is Descending.

        Parameters:
        sortOrder - The sort order for results. The default is Descending.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OrderKey, OrderKey
      • nextToken

        ListModelsRequest.Builder nextToken​(String nextToken)

        If the response to a previous ListModels request was truncated, the response includes a NextToken. To retrieve the next set of models, use the token in the next request.

        Parameters:
        nextToken - If the response to a previous ListModels request was truncated, the response includes a NextToken. To retrieve the next set of models, use the token in the next request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListModelsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of models to return in the response.

        Parameters:
        maxResults - The maximum number of models to return in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameContains

        ListModelsRequest.Builder nameContains​(String nameContains)

        A string in the model name. This filter returns only models whose name contains the specified string.

        Parameters:
        nameContains - A string in the model name. This filter returns only models whose name contains the specified string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListModelsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        A filter that returns only models created before the specified time (timestamp).

        Parameters:
        creationTimeBefore - A filter that returns only models created before the specified time (timestamp).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeAfter

        ListModelsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).

        Parameters:
        creationTimeAfter - A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
        Returns:
        Returns a reference to this object so that method calls can be chained together.