Interface ListCodeReviewsRequest.Builder

    • Method Detail

      • providerTypesWithStrings

        ListCodeReviewsRequest.Builder providerTypesWithStrings​(Collection<String> providerTypes)

        List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.

        Parameters:
        providerTypes - List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • providerTypesWithStrings

        ListCodeReviewsRequest.Builder providerTypesWithStrings​(String... providerTypes)

        List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.

        Parameters:
        providerTypes - List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • providerTypes

        ListCodeReviewsRequest.Builder providerTypes​(Collection<ProviderType> providerTypes)

        List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.

        Parameters:
        providerTypes - List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • providerTypes

        ListCodeReviewsRequest.Builder providerTypes​(ProviderType... providerTypes)

        List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.

        Parameters:
        providerTypes - List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statesWithStrings

        ListCodeReviewsRequest.Builder statesWithStrings​(Collection<String> states)

        List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        states - List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statesWithStrings

        ListCodeReviewsRequest.Builder statesWithStrings​(String... states)

        List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        states - List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • states

        ListCodeReviewsRequest.Builder states​(Collection<JobState> states)

        List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        states - List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • states

        ListCodeReviewsRequest.Builder states​(JobState... states)

        List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Parameters:
        states - List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.

        The valid code review states are:

        • Completed: The code review is complete.

        • Pending: The code review started and has not completed or failed.

        • Failed: The code review failed.

        • Deleting: The code review is being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryNames

        ListCodeReviewsRequest.Builder repositoryNames​(Collection<String> repositoryNames)

        List of repository names for filtering that needs to be applied before displaying the result.

        Parameters:
        repositoryNames - List of repository names for filtering that needs to be applied before displaying the result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • repositoryNames

        ListCodeReviewsRequest.Builder repositoryNames​(String... repositoryNames)

        List of repository names for filtering that needs to be applied before displaying the result.

        Parameters:
        repositoryNames - List of repository names for filtering that needs to be applied before displaying the result.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ListCodeReviewsRequest.Builder type​(String type)

        The type of code reviews to list in the response.

        Parameters:
        type - The type of code reviews to list in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • type

        ListCodeReviewsRequest.Builder type​(Type type)

        The type of code reviews to list in the response.

        Parameters:
        type - The type of code reviews to list in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • maxResults

        ListCodeReviewsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results that are returned per call. The default is 100.

        Parameters:
        maxResults - The maximum number of results that are returned per call. The default is 100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListCodeReviewsRequest.Builder nextToken​(String nextToken)

        If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

        Parameters:
        nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
        Returns:
        Returns a reference to this object so that method calls can be chained together.