public static class ListPathsRequest.Builder extends Object implements BmcRequest.Builder<ListPathsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListPathsRequest |
build()
Build the instance of ListPathsRequest as configured by this builder
|
ListPathsRequest |
buildWithoutInvocationCallback()
Build the instance of ListPathsRequest as configured by this builder
|
ListPathsRequest.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListPathsRequest.Builder repositoryId(String repositoryId)
Unique repository identifier.
repositoryId
- the value to setpublic 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.
ref
- the value to setpublic ListPathsRequest.Builder pathsInSubtree(Boolean pathsInSubtree)
Flag to determine if files must be retrived recursively. Flag is False by default.
pathsInSubtree
- the value to setpublic 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.
folderPath
- the value to setpublic ListPathsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic 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.
page
- the value to setpublic ListPathsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.
displayName
- the value to setpublic ListPathsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use. Use either ascending or descending.
sortOrder
- the value to setpublic 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.
sortBy
- the value to setpublic 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.
opcRequestId
- the value to setpublic ListPathsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListPathsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListPathsRequest.Builder copy(ListPathsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListPathsRequest,Void>
o
- other request from which to copy valuespublic ListPathsRequest build()
Build the instance of ListPathsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListPathsRequest,Void>
public ListPathsRequest buildWithoutInvocationCallback()
Build the instance of ListPathsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.