Interface ListCustomModelsRequest.Builder

    • Method Detail

      • creationTimeBefore

        ListCustomModelsRequest.Builder creationTimeBefore​(Instant creationTimeBefore)

        Return custom models created before the specified time.

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

        ListCustomModelsRequest.Builder creationTimeAfter​(Instant creationTimeAfter)

        Return custom models created after the specified time.

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

        ListCustomModelsRequest.Builder nameContains​(String nameContains)

        Return custom models only if the job name contains these characters.

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

        ListCustomModelsRequest.Builder baseModelArnEquals​(String baseModelArnEquals)

        Return custom models only if the base model ARN matches this parameter.

        Parameters:
        baseModelArnEquals - Return custom models only if the base model ARN matches this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • foundationModelArnEquals

        ListCustomModelsRequest.Builder foundationModelArnEquals​(String foundationModelArnEquals)

        Return custom models only if the foundation model ARN matches this parameter.

        Parameters:
        foundationModelArnEquals - Return custom models only if the foundation model ARN matches this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListCustomModelsRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in the response.

        Parameters:
        maxResults - Maximum number of results to return in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCustomModelsRequest.Builder nextToken​(String nextToken)

        Continuation token from the previous response, for Amazon Bedrock to list the next set of results.

        Parameters:
        nextToken - Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListCustomModelsRequest.Builder sortBy​(String sortBy)

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

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

        ListCustomModelsRequest.Builder sortOrder​(String sortOrder)

        The sort order of the results.

        Parameters:
        sortOrder - The sort order of the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SortOrder, SortOrder