Package com.oracle.bmc.jms.requests
Class ListFleetErrorsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListFleetErrorsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListFleetErrorsRequest,Void>
- Enclosing class:
- ListFleetErrorsRequest
public static class ListFleetErrorsRequest.Builder extends Object implements BmcRequest.Builder<ListFleetErrorsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFleetErrorsRequestbuild()Build the instance of ListFleetErrorsRequest as configured by this builderListFleetErrorsRequestbuildWithoutInvocationCallback()Build the instance of ListFleetErrorsRequest as configured by this builderListFleetErrorsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListFleetErrorsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.ListFleetErrorsRequest.Buildercopy(ListFleetErrorsRequest o)Copy method to populate the builder with values from the given instance.ListFleetErrorsRequest.BuilderfleetId(String fleetId)The ID of the Fleet.ListFleetErrorsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListFleetErrorsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListFleetErrorsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListFleetErrorsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListFleetErrorsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListFleetErrorsRequest.BuildersortBy(FleetErrorSortBy sortBy)The field to sort FleetError.ListFleetErrorsRequest.BuildersortOrder(SortOrder sortOrder)The sort order, either ‘asc’ or ‘desc’.ListFleetErrorsRequest.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).ListFleetErrorsRequest.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).ListFleetErrorsRequest.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).ListFleetErrorsRequest.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 ListFleetErrorsRequest.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 ListFleetErrorsRequest.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
-
fleetId
public ListFleetErrorsRequest.Builder fleetId(String fleetId)
The ID of the Fleet.- Parameters:
fleetId- the value to set- Returns:
- this builder instance
-
timeFirstSeenLessThanOrEqualTo
public ListFleetErrorsRequest.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 ListFleetErrorsRequest.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 ListFleetErrorsRequest.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 ListFleetErrorsRequest.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 ListFleetErrorsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListFleetErrorsRequest.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 ListFleetErrorsRequest.Builder sortBy(FleetErrorSortBy sortBy)
The field to sort FleetError.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 ListFleetErrorsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListFleetErrorsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListFleetErrorsRequest.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 ListFleetErrorsRequest.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 ListFleetErrorsRequest.Builder copy(ListFleetErrorsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListFleetErrorsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListFleetErrorsRequest build()
Build the instance of ListFleetErrorsRequest 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<ListFleetErrorsRequest,Void>- Returns:
- instance of ListFleetErrorsRequest
-
buildWithoutInvocationCallback
public ListFleetErrorsRequest buildWithoutInvocationCallback()
Build the instance of ListFleetErrorsRequest 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 ListFleetErrorsRequest
-
-