Package com.oracle.bmc.jms.requests
Class ListPluginErrorsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListPluginErrorsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListPluginErrorsRequest,Void>
- Enclosing class:
- ListPluginErrorsRequest
public static class ListPluginErrorsRequest.Builder extends Object implements BmcRequest.Builder<ListPluginErrorsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPluginErrorsRequestbuild()Build the instance of ListPluginErrorsRequest as configured by this builderListPluginErrorsRequestbuildWithoutInvocationCallback()Build the instance of ListPluginErrorsRequest as configured by this builderListPluginErrorsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListPluginErrorsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.ListPluginErrorsRequest.Buildercopy(ListPluginErrorsRequest o)Copy method to populate the builder with values from the given instance.ListPluginErrorsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListPluginErrorsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListPluginErrorsRequest.BuildermanagedInstanceId(String managedInstanceId)The Fleet-unique identifier of the managed instance.ListPluginErrorsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListPluginErrorsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListPluginErrorsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListPluginErrorsRequest.BuildersortBy(PluginErrorSortBy sortBy)The field to sort PluginError.ListPluginErrorsRequest.BuildersortOrder(SortOrder sortOrder)The sort order, either ‘asc’ or ‘desc’.ListPluginErrorsRequest.BuildertimeFirstSeenGreaterThanOrEqualTo(Date timeFirstSeenGreaterThanOrEqualTo)If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).ListPluginErrorsRequest.BuildertimeFirstSeenLessThanOrEqualTo(Date timeFirstSeenLessThanOrEqualTo)If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).ListPluginErrorsRequest.BuildertimeLastSeenGreaterThanOrEqualTo(Date timeLastSeenGreaterThanOrEqualTo)If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).ListPluginErrorsRequest.BuildertimeLastSeenLessThanOrEqualTo(Date timeLastSeenLessThanOrEqualTo)If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).-
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
-
compartmentId
public ListPluginErrorsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListPluginErrorsRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.- Parameters:
compartmentIdInSubtree- the value to set- Returns:
- this builder instance
-
managedInstanceId
public ListPluginErrorsRequest.Builder managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.- Parameters:
managedInstanceId- the value to set- Returns:
- this builder instance
-
timeFirstSeenLessThanOrEqualTo
public ListPluginErrorsRequest.Builder timeFirstSeenLessThanOrEqualTo(Date timeFirstSeenLessThanOrEqualTo)
If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).- Parameters:
timeFirstSeenLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeFirstSeenGreaterThanOrEqualTo
public ListPluginErrorsRequest.Builder timeFirstSeenGreaterThanOrEqualTo(Date timeFirstSeenGreaterThanOrEqualTo)
If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).- Parameters:
timeFirstSeenGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLastSeenLessThanOrEqualTo
public ListPluginErrorsRequest.Builder timeLastSeenLessThanOrEqualTo(Date timeLastSeenLessThanOrEqualTo)
If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).- Parameters:
timeLastSeenLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeLastSeenGreaterThanOrEqualTo
public ListPluginErrorsRequest.Builder timeLastSeenGreaterThanOrEqualTo(Date timeLastSeenGreaterThanOrEqualTo)
If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).- Parameters:
timeLastSeenGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
limit
public ListPluginErrorsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListPluginErrorsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.The token is usually retrieved from a previous list call.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortBy
public ListPluginErrorsRequest.Builder sortBy(PluginErrorSortBy sortBy)
The field to sort PluginError.Only one sort order may be provided. Default order is descending. If no value is specified timeLastSeen is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListPluginErrorsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListPluginErrorsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListPluginErrorsRequest.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 ListPluginErrorsRequest.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 ListPluginErrorsRequest.Builder copy(ListPluginErrorsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListPluginErrorsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListPluginErrorsRequest build()
Build the instance of ListPluginErrorsRequest 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<ListPluginErrorsRequest,Void>- Returns:
- instance of ListPluginErrorsRequest
-
buildWithoutInvocationCallback
public ListPluginErrorsRequest buildWithoutInvocationCallback()
Build the instance of ListPluginErrorsRequest 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 ListPluginErrorsRequest
-
-