Interface ListModelCardsRequest.Builder

    • Method Detail

      • creationTimeAfter

        ListModelCardsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        Only list model cards that were created after the time specified.

        Parameters:
        creationTimeAfter - Only list model cards that were created after the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeBefore

        ListModelCardsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        Only list model cards that were created before the time specified.

        Parameters:
        creationTimeBefore - Only list model cards that were created before the time specified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListModelCardsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of model cards to list.

        Parameters:
        maxResults - The maximum number of model cards to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameContains

        ListModelCardsRequest.Builder nameContains​(String nameContains)

        Only list model cards with names that contain the specified string.

        Parameters:
        nameContains - Only list model cards with names that contain the specified string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelCardStatus

        ListModelCardsRequest.Builder modelCardStatus​(String modelCardStatus)

        Only list model cards with the specified approval status.

        Parameters:
        modelCardStatus - Only list model cards with the specified approval status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardStatus, ModelCardStatus
      • modelCardStatus

        ListModelCardsRequest.Builder modelCardStatus​(ModelCardStatus modelCardStatus)

        Only list model cards with the specified approval status.

        Parameters:
        modelCardStatus - Only list model cards with the specified approval status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardStatus, ModelCardStatus
      • nextToken

        ListModelCardsRequest.Builder nextToken​(String nextToken)

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

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

        ListModelCardsRequest.Builder sortBy​(String sortBy)

        Sort model cards by either name or creation time. Sorts by creation time by default.

        Parameters:
        sortBy - Sort model cards by either name or creation time. Sorts by creation time by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardSortBy, ModelCardSortBy
      • sortBy

        ListModelCardsRequest.Builder sortBy​(ModelCardSortBy sortBy)

        Sort model cards by either name or creation time. Sorts by creation time by default.

        Parameters:
        sortBy - Sort model cards by either name or creation time. Sorts by creation time by default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ModelCardSortBy, ModelCardSortBy