Class ListDataFilesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.requests.ListDataFilesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDataFilesRequest,Void>
- Enclosing class:
- ListDataFilesRequest
public static class ListDataFilesRequest.Builder extends Object implements BmcRequest.Builder<ListDataFilesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDataFilesRequest.BuilderapmDomainId(String apmDomainId)The APM Domain ID the request is intended for.ListDataFilesRequest.BuilderapmType(String apmType)The type of the data file.ListDataFilesRequestbuild()Build the instance of ListDataFilesRequest as configured by this builderListDataFilesRequestbuildWithoutInvocationCallback()Build the instance of ListDataFilesRequest as configured by this builderListDataFilesRequest.Buildercopy(ListDataFilesRequest o)Copy method to populate the builder with values from the given instance.ListDataFilesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDataFilesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListDataFilesRequest.Buildermetadata(String metadata)A string containing a JSON-encoded object with metadata related to the uploaded file or resource.ListDataFilesRequest.Buildername(String name)A filter to return resources that match the specified name.ListDataFilesRequest.BuilderopcClientRequestId(String opcClientRequestId)The client request ID for tracing.ListDataFilesRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListDataFilesRequest.Builderpage(String page)The maximum number of results per page, or items to return in a paginated “List” call.ListDataFilesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDataFilesRequest.BuildersortBy(ListDataFilesRequest.SortBy sortBy)The field to sort by.ListDataFilesRequest.BuildersortOrder(SortOrders sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListDataFilesRequest.BuildertimeLastModifiedAfter(Date timeLastModifiedAfter)Return data files with the ‘timeLastModified’ after the specified time, expressed in RFC 3339 timestamp format.ListDataFilesRequest.BuildertimeLastModifiedBefore(Date timeLastModifiedBefore)Return data files with time ‘timeLastModified’ before the specified time, expressed in RFC 3339 timestamp format.-
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
-
apmDomainId
public ListDataFilesRequest.Builder apmDomainId(String apmDomainId)
The APM Domain ID the request is intended for.- Parameters:
apmDomainId- the value to set- Returns:
- this builder instance
-
apmType
public ListDataFilesRequest.Builder apmType(String apmType)
The type of the data file.- Parameters:
apmType- the value to set- Returns:
- this builder instance
-
name
public ListDataFilesRequest.Builder name(String name)
A filter to return resources that match the specified name.Supports regular expressions to filter data files.
- Parameters:
name- the value to set- Returns:
- this builder instance
-
timeLastModifiedBefore
public ListDataFilesRequest.Builder timeLastModifiedBefore(Date timeLastModifiedBefore)
Return data files with time ‘timeLastModified’ before the specified time, expressed in RFC 3339 timestamp format.Example: 2020-02-19T22:47:12.613Z
- Parameters:
timeLastModifiedBefore- the value to set- Returns:
- this builder instance
-
timeLastModifiedAfter
public ListDataFilesRequest.Builder timeLastModifiedAfter(Date timeLastModifiedAfter)
Return data files with the ‘timeLastModified’ after the specified time, expressed in RFC 3339 timestamp format.Example: 2020-02-19T22:47:12.613Z
- Parameters:
timeLastModifiedAfter- the value to set- Returns:
- this builder instance
-
limit
public ListDataFilesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListDataFilesRequest.Builder page(String page)
The maximum number of results per page, or items to return in a paginated “List” call.For information on how pagination works, see List Pagination. Example: 50
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDataFilesRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).The displayName sort order is case-sensitive.
- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListDataFilesRequest.Builder sortBy(ListDataFilesRequest.SortBy sortBy)
The field to sort by.You can provide one “sortBy” value. The default order for displayName, timeCreated and timeUpdated is ascending. The displayName sort by is case-sensitive.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
metadata
public ListDataFilesRequest.Builder metadata(String metadata)
A string containing a JSON-encoded object with metadata related to the uploaded file or resource.Example: {“fileName”:“report.pdf”,“uploader”:“jane.doe”,“category”:“financial”}
- Parameters:
metadata- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListDataFilesRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
opcClientRequestId
public ListDataFilesRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDataFilesRequest.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 ListDataFilesRequest.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 ListDataFilesRequest.Builder copy(ListDataFilesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDataFilesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDataFilesRequest build()
Build the instance of ListDataFilesRequest 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<ListDataFilesRequest,Void>- Returns:
- instance of ListDataFilesRequest
-
buildWithoutInvocationCallback
public ListDataFilesRequest buildWithoutInvocationCallback()
Build the instance of ListDataFilesRequest 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 ListDataFilesRequest
-
-