Class ListFoldersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.ListFoldersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListFoldersRequest,Void>
- Enclosing class:
- ListFoldersRequest
public static class ListFoldersRequest.Builder extends Object implements BmcRequest.Builder<ListFoldersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFoldersRequestbuild()Build the instance of ListFoldersRequest as configured by this builderListFoldersRequestbuildWithoutInvocationCallback()Build the instance of ListFoldersRequest as configured by this builderListFoldersRequest.BuilderbusinessName(String businessName)A filter to return only resources that match the entire business name given.ListFoldersRequest.BuildercatalogId(String catalogId)Unique catalog identifier.ListFoldersRequest.Buildercopy(ListFoldersRequest o)Copy method to populate the builder with values from the given instance.ListFoldersRequest.BuildercreatedById(String createdById)OCID of the user who created the resource.ListFoldersRequest.BuilderdataAssetKey(String dataAssetKey)Unique data asset key.ListFoldersRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListFoldersRequest.BuilderdisplayNameContains(String displayNameContains)A filter to return only resources that match display name pattern given.ListFoldersRequest.BuilderdisplayOrBusinessNameContains(String displayOrBusinessNameContains)A filter to return only resources that match display name or business name pattern given.ListFoldersRequest.BuilderexternalKey(String externalKey)Unique external identifier of this resource in the external source system.ListFoldersRequest.Builderfields(ListFoldersRequest.Fields singularValue)Singular setter.ListFoldersRequest.Builderfields(List<ListFoldersRequest.Fields> fields)Specifies the fields to return in a folder summary response.ListFoldersRequest.BuilderharvestStatus(HarvestStatus harvestStatus)Harvest status of the harvestable resource as updated by the harvest process.ListFoldersRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListFoldersRequest.BuilderlastJobKey(String lastJobKey)Key of the last harvest process to update this resource.ListFoldersRequest.BuilderlifecycleState(LifecycleState lifecycleState)A filter to return only resources that match the specified lifecycle state.ListFoldersRequest.Builderlimit(Integer limit)The maximum number of items to return.ListFoldersRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListFoldersRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListFoldersRequest.BuilderparentFolderKey(String parentFolderKey)Unique folder key.ListFoldersRequest.Builderpath(String path)Full path of the resource for resources that support paths.ListFoldersRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListFoldersRequest.BuildersortBy(ListFoldersRequest.SortBy sortBy)The field to sort by.ListFoldersRequest.BuildersortOrder(ListFoldersRequest.SortOrder sortOrder)The sort order to use, either ‘asc’ or ‘desc’.ListFoldersRequest.BuildertimeCreated(Date timeCreated)Time that the resource was created.ListFoldersRequest.BuildertimeUpdated(Date timeUpdated)Time that the resource was updated.ListFoldersRequest.BuildertypeKey(String typeKey)The key of the object type.ListFoldersRequest.BuilderupdatedById(String updatedById)OCID of the user who updated the resource.-
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
-
catalogId
public ListFoldersRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId- the value to set- Returns:
- this builder instance
-
dataAssetKey
public ListFoldersRequest.Builder dataAssetKey(String dataAssetKey)
Unique data asset key.- Parameters:
dataAssetKey- the value to set- Returns:
- this builder instance
-
displayName
public ListFoldersRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.The match is not case sensitive.
- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
businessName
public ListFoldersRequest.Builder businessName(String businessName)
A filter to return only resources that match the entire business name given.The match is not case sensitive.
- Parameters:
businessName- the value to set- Returns:
- this builder instance
-
displayOrBusinessNameContains
public ListFoldersRequest.Builder displayOrBusinessNameContains(String displayOrBusinessNameContains)
A filter to return only resources that match display name or business name pattern given.The match is not case sensitive. For Example : /folders?displayOrBusinessNameContains=Cu.* The above would match all folders with display name or business name that starts with “Cu” or has the pattern “Cu” anywhere in between.
- Parameters:
displayOrBusinessNameContains- the value to set- Returns:
- this builder instance
-
displayNameContains
public ListFoldersRequest.Builder displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given.The match is not case sensitive. For Example : /folders?displayNameContains=Cu.* The above would match all folders with display name that starts with “Cu” or has the pattern “Cu” anywhere in between.
- Parameters:
displayNameContains- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListFoldersRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.The value is case insensitive.
- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
parentFolderKey
public ListFoldersRequest.Builder parentFolderKey(String parentFolderKey)
Unique folder key.- Parameters:
parentFolderKey- the value to set- Returns:
- this builder instance
-
path
public ListFoldersRequest.Builder path(String path)
Full path of the resource for resources that support paths.- Parameters:
path- the value to set- Returns:
- this builder instance
-
externalKey
public ListFoldersRequest.Builder externalKey(String externalKey)
Unique external identifier of this resource in the external source system.- Parameters:
externalKey- the value to set- Returns:
- this builder instance
-
timeCreated
public ListFoldersRequest.Builder timeCreated(Date timeCreated)
Time that the resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder instance
-
timeUpdated
public ListFoldersRequest.Builder timeUpdated(Date timeUpdated)
Time that the resource was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder instance
-
createdById
public ListFoldersRequest.Builder createdById(String createdById)
OCID of the user who created the resource.- Parameters:
createdById- the value to set- Returns:
- this builder instance
-
updatedById
public ListFoldersRequest.Builder updatedById(String updatedById)
OCID of the user who updated the resource.- Parameters:
updatedById- the value to set- Returns:
- this builder instance
-
harvestStatus
public ListFoldersRequest.Builder harvestStatus(HarvestStatus harvestStatus)
Harvest status of the harvestable resource as updated by the harvest process.- Parameters:
harvestStatus- the value to set- Returns:
- this builder instance
-
lastJobKey
public ListFoldersRequest.Builder lastJobKey(String lastJobKey)
Key of the last harvest process to update this resource.- Parameters:
lastJobKey- the value to set- Returns:
- this builder instance
-
fields
public ListFoldersRequest.Builder fields(List<ListFoldersRequest.Fields> fields)
Specifies the fields to return in a folder summary response.- Parameters:
fields- the value to set- Returns:
- this builder instance
-
fields
public ListFoldersRequest.Builder fields(ListFoldersRequest.Fields singularValue)
Singular setter.Specifies the fields to return in a folder summary response.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
typeKey
public ListFoldersRequest.Builder typeKey(String typeKey)
The key of the object type.- Parameters:
typeKey- the value to set- Returns:
- this builder instance
-
sortBy
public ListFoldersRequest.Builder sortBy(ListFoldersRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. DISPLAYORBUSINESSNAME considers businessName of a given object if set, else its displayName is used. Default sort order for TIMECREATED is descending and default sort order for DISPLAYNAME and DISPLAYORBUSINESSNAME is ascending. If no order is specified, TIMECREATED is the default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListFoldersRequest.Builder sortOrder(ListFoldersRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
limit
public ListFoldersRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListFoldersRequest.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 ListFoldersRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListFoldersRequest.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 ListFoldersRequest.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 ListFoldersRequest.Builder copy(ListFoldersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListFoldersRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListFoldersRequest build()
Build the instance of ListFoldersRequest 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:
buildin interfaceBmcRequest.Builder<ListFoldersRequest,Void>- Returns:
- instance of ListFoldersRequest
-
buildWithoutInvocationCallback
public ListFoldersRequest buildWithoutInvocationCallback()
Build the instance of ListFoldersRequest 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 ListFoldersRequest
-
-