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 ListPluginErrorsRequest
build()
Build the instance of ListPluginErrorsRequest as configured by this builderListPluginErrorsRequest
buildWithoutInvocationCallback()
Build the instance of ListPluginErrorsRequest as configured by this builderListPluginErrorsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.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.ListPluginErrorsRequest.Builder
copy(ListPluginErrorsRequest o)
Copy method to populate the builder with values from the given instance.ListPluginErrorsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListPluginErrorsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListPluginErrorsRequest.Builder
managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.ListPluginErrorsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListPluginErrorsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListPluginErrorsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListPluginErrorsRequest.Builder
sortBy(PluginErrorSortBy sortBy)
The field to sort PluginError.ListPluginErrorsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.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).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).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).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).-
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:
copy
in 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:
build
in 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
-
-