Class ListPathsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • repositoryId

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

        public ListPathsRequest.Builder ref​(String ref)
        The name of branch/tag or commit hash it points to.

        If names conflict, order of preference is commit > branch > tag. You can disambiguate with “heads/foobar” and “tags/foobar”. If left blank repository’s default branch will be used.

        Parameters:
        ref - the value to set
        Returns:
        this builder instance
      • pathsInSubtree

        public ListPathsRequest.Builder pathsInSubtree​(Boolean pathsInSubtree)
        Flag to determine if files must be retrived recursively.

        Flag is False by default.

        Parameters:
        pathsInSubtree - the value to set
        Returns:
        this builder instance
      • folderPath

        public ListPathsRequest.Builder folderPath​(String folderPath)
        The fully qualified path to the folder whose contents are returned, including the folder name.

        For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.

        Parameters:
        folderPath - the value to set
        Returns:
        this builder instance
      • limit

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

        public ListPathsRequest.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
      • displayName

        public ListPathsRequest.Builder displayName​(String displayName)
        A filter to return only resources that match the entire display name given.
        Parameters:
        displayName - the value to set
        Returns:
        this builder instance
      • sortOrder

        public ListPathsRequest.Builder sortOrder​(SortOrder sortOrder)
        The sort order to use.

        Use either ascending or descending.

        Parameters:
        sortOrder - the value to set
        Returns:
        this builder instance
      • sortBy

        public ListPathsRequest.Builder sortBy​(ListPathsRequest.SortBy sortBy)
        The field to sort by.

        Only one sort order may be provided. Default order is ascending. If no value is specified name is default.

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

        public ListPathsRequest.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 ListPathsRequest.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 ListPathsRequest.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