Class ListCommitsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • repositoryId

        public ListCommitsRequest.Builder repositoryId​(String repositoryId)
        Unique repository identifier.
        Parameters:
        repositoryId - the value to set
        Returns:
        this builder instance
      • refName

        public ListCommitsRequest.Builder refName​(String refName)
        A filter to return only resources that match the given reference name.
        Parameters:
        refName - the value to set
        Returns:
        this builder instance
      • excludeRefName

        public ListCommitsRequest.Builder excludeRefName​(String excludeRefName)
        A filter to exclude commits that match the given reference name.
        Parameters:
        excludeRefName - the value to set
        Returns:
        this builder instance
      • filePath

        public ListCommitsRequest.Builder filePath​(String filePath)
        A filter to return only commits that affect any of the specified paths.
        Parameters:
        filePath - the value to set
        Returns:
        this builder instance
      • timestampGreaterThanOrEqualTo

        public ListCommitsRequest.Builder timestampGreaterThanOrEqualTo​(Date timestampGreaterThanOrEqualTo)
        A filter to return commits only created after the specified timestamp value.
        Parameters:
        timestampGreaterThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • timestampLessThanOrEqualTo

        public ListCommitsRequest.Builder timestampLessThanOrEqualTo​(Date timestampLessThanOrEqualTo)
        A filter to return commits only created before the specified timestamp value.
        Parameters:
        timestampLessThanOrEqualTo - the value to set
        Returns:
        this builder instance
      • commitMessage

        public ListCommitsRequest.Builder commitMessage​(String commitMessage)
        A filter to return any commits that contains the given message.
        Parameters:
        commitMessage - the value to set
        Returns:
        this builder instance
      • authorName

        public ListCommitsRequest.Builder authorName​(String authorName)
        A filter to return any commits that are pushed by the requested author.
        Parameters:
        authorName - the value to set
        Returns:
        this builder instance
      • limit

        public ListCommitsRequest.Builder limit​(Integer limit)
        The maximum number of items to return.
        Parameters:
        limit - the value to set
        Returns:
        this builder instance
      • page

        public ListCommitsRequest.Builder page​(String page)
        The page token representing the page at which to start retrieving results.

        This is usually retrieved from a previous list call.

        Parameters:
        page - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListCommitsRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListCommitsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public ListCommitsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance