Class ListPathsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.requests.ListPathsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPathsRequest,Void>
- Enclosing class:
- ListPathsRequest
public static class ListPathsRequest.Builder extends Object implements BmcRequest.Builder<ListPathsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPathsRequest
build()
Build the instance of ListPathsRequest as configured by this builderListPathsRequest
buildWithoutInvocationCallback()
Build the instance of ListPathsRequest as configured by this builderListPathsRequest.Builder
copy(ListPathsRequest o)
Copy method to populate the builder with values from the given instance.ListPathsRequest.Builder
displayName(String displayName)
A filter to return only resources that match the entire display name given.ListPathsRequest.Builder
folderPath(String folderPath)
The fully qualified path to the folder whose contents are returned, including the folder name.ListPathsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPathsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListPathsRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListPathsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListPathsRequest.Builder
pathsInSubtree(Boolean pathsInSubtree)
Flag to determine if files must be retrived recursively.ListPathsRequest.Builder
ref(String ref)
The name of branch/tag or commit hash it points to.ListPathsRequest.Builder
repositoryId(String repositoryId)
Unique repository identifier.ListPathsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPathsRequest.Builder
sortBy(ListPathsRequest.SortBy sortBy)
The field to sort by.ListPathsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
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
-
copy
public ListPathsRequest.Builder copy(ListPathsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListPathsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPathsRequest build()
Build the instance of ListPathsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListPathsRequest,Void>
- Returns:
- instance of ListPathsRequest
-
buildWithoutInvocationCallback
public ListPathsRequest buildWithoutInvocationCallback()
Build the instance of ListPathsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListPathsRequest
-
-