Class ListScheduledQueriesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.requests.ListScheduledQueriesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListScheduledQueriesRequest,Void>
- Enclosing class:
- ListScheduledQueriesRequest
public static class ListScheduledQueriesRequest.Builder extends Object implements BmcRequest.Builder<ListScheduledQueriesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListScheduledQueriesRequest.BuilderapmDomainId(String apmDomainId)The APM Domain ID for the intended request.ListScheduledQueriesRequestbuild()Build the instance of ListScheduledQueriesRequest as configured by this builderListScheduledQueriesRequestbuildWithoutInvocationCallback()Build the instance of ListScheduledQueriesRequest as configured by this builderListScheduledQueriesRequest.Buildercopy(ListScheduledQueriesRequest o)Copy method to populate the builder with values from the given instance.ListScheduledQueriesRequest.BuilderdisplayName(String displayName)A filter to return resources that match the given display name.ListScheduledQueriesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListScheduledQueriesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListScheduledQueriesRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListScheduledQueriesRequest.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.ListScheduledQueriesRequest.Builderpage(String page)The page token representing the page where to start retrieving results.ListScheduledQueriesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListScheduledQueriesRequest.BuildersortBy(ListScheduledQueriesRequest.SortBy sortBy)The field to sort by.ListScheduledQueriesRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).-
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 ListScheduledQueriesRequest.Builder apmDomainId(String apmDomainId)
The APM Domain ID for the intended request.- Parameters:
apmDomainId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListScheduledQueriesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListScheduledQueriesRequest.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
-
limit
public ListScheduledQueriesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListScheduledQueriesRequest.Builder page(String page)
The page token representing the page where to start retrieving results.This is usually retrieved from a previous response.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
displayName
public ListScheduledQueriesRequest.Builder displayName(String displayName)
A filter to return resources that match the given display name.This will return resources that have name starting with this filter.
- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
sortOrder
public ListScheduledQueriesRequest.Builder sortOrder(SortOrder 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 ListScheduledQueriesRequest.Builder sortBy(ListScheduledQueriesRequest.SortBy sortBy)
The field to sort by.You can provide one “sortBy” value.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListScheduledQueriesRequest.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 ListScheduledQueriesRequest.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 ListScheduledQueriesRequest.Builder copy(ListScheduledQueriesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListScheduledQueriesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListScheduledQueriesRequest build()
Build the instance of ListScheduledQueriesRequest 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<ListScheduledQueriesRequest,Void>- Returns:
- instance of ListScheduledQueriesRequest
-
buildWithoutInvocationCallback
public ListScheduledQueriesRequest buildWithoutInvocationCallback()
Build the instance of ListScheduledQueriesRequest 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 ListScheduledQueriesRequest
-
-