Class ListUploadFilesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListUploadFilesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListUploadFilesRequest,Void>
- Enclosing class:
- ListUploadFilesRequest
public static class ListUploadFilesRequest.Builder extends Object implements BmcRequest.Builder<ListUploadFilesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUploadFilesRequest
build()
Build the instance of ListUploadFilesRequest as configured by this builderListUploadFilesRequest
buildWithoutInvocationCallback()
Build the instance of ListUploadFilesRequest as configured by this builderListUploadFilesRequest.Builder
copy(ListUploadFilesRequest o)
Copy method to populate the builder with values from the given instance.ListUploadFilesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListUploadFilesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListUploadFilesRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListUploadFilesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListUploadFilesRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListUploadFilesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListUploadFilesRequest.Builder
searchStr(String searchStr)
This can be used to filter upload files based on the file, log group and log source names.ListUploadFilesRequest.Builder
sortBy(ListUploadFilesRequest.SortBy sortBy)
The field to sort by.ListUploadFilesRequest.Builder
sortOrder(ListUploadFilesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListUploadFilesRequest.Builder
status(ListUploadFilesRequest.Status singularValue)
Singular setter.ListUploadFilesRequest.Builder
status(List<ListUploadFilesRequest.Status> status)
Upload File processing state.ListUploadFilesRequest.Builder
uploadReference(String uploadReference)
Unique internal identifier to refer upload container.-
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
-
namespaceName
public ListUploadFilesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
uploadReference
public ListUploadFilesRequest.Builder uploadReference(String uploadReference)
Unique internal identifier to refer upload container.- Parameters:
uploadReference
- the value to set- Returns:
- this builder instance
-
limit
public ListUploadFilesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListUploadFilesRequest.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
-
sortOrder
public ListUploadFilesRequest.Builder sortOrder(ListUploadFilesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListUploadFilesRequest.Builder sortBy(ListUploadFilesRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeStarted is descending. timeCreated, fileName and logGroup are deprecated. Instead use timestarted, name, logGroup accordingly.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
searchStr
public ListUploadFilesRequest.Builder searchStr(String searchStr)
This can be used to filter upload files based on the file, log group and log source names.- Parameters:
searchStr
- the value to set- Returns:
- this builder instance
-
status
public ListUploadFilesRequest.Builder status(List<ListUploadFilesRequest.Status> status)
Upload File processing state.- Parameters:
status
- the value to set- Returns:
- this builder instance
-
status
public ListUploadFilesRequest.Builder status(ListUploadFilesRequest.Status singularValue)
Singular setter.Upload File processing state.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public ListUploadFilesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListUploadFilesRequest.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 ListUploadFilesRequest.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 ListUploadFilesRequest.Builder copy(ListUploadFilesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListUploadFilesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListUploadFilesRequest build()
Build the instance of ListUploadFilesRequest 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<ListUploadFilesRequest,Void>
- Returns:
- instance of ListUploadFilesRequest
-
buildWithoutInvocationCallback
public ListUploadFilesRequest buildWithoutInvocationCallback()
Build the instance of ListUploadFilesRequest 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 ListUploadFilesRequest
-
-