Interface ListImportedModelsRequest.Builder

    • Method Detail

      • creationTimeBefore

        ListImportedModelsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        Return imported models that created before the specified time.

        Parameters:
        creationTimeBefore - Return imported models that created before the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTimeAfter

        ListImportedModelsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        Return imported models that were created after the specified time.

        Parameters:
        creationTimeAfter - Return imported models that were created after the specified time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameContains

        ListImportedModelsRequest.Builder nameContains​(String nameContains)

        Return imported models only if the model name contains these characters.

        Parameters:
        nameContains - Return imported models only if the model name contains these characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListImportedModelsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.

        Parameters:
        maxResults - The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListImportedModelsRequest.Builder nextToken​(String nextToken)

        If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.

        Parameters:
        nextToken - If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListImportedModelsRequest.Builder sortBy​(String sortBy)

        The field to sort by in the returned list of imported models.

        Parameters:
        sortBy - The field to sort by in the returned list of imported models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortModelsBy, SortModelsBy
      • sortBy

        ListImportedModelsRequest.Builder sortBy​(SortModelsBy sortBy)

        The field to sort by in the returned list of imported models.

        Parameters:
        sortBy - The field to sort by in the returned list of imported models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortModelsBy, SortModelsBy
      • sortOrder

        ListImportedModelsRequest.Builder sortOrder​(String sortOrder)

        Specifies whetehr to sort the results in ascending or descending order.

        Parameters:
        sortOrder - Specifies whetehr to sort the results in ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder
      • sortOrder

        ListImportedModelsRequest.Builder sortOrder​(SortOrder sortOrder)

        Specifies whetehr to sort the results in ascending or descending order.

        Parameters:
        sortOrder - Specifies whetehr to sort the results in ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder