Class ListEventsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.osmanagement.requests.ListEventsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public class ListEventsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/osmanagement/ListEventsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEventsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListEventsRequest.Builder
static class
ListEventsRequest.SortBy
The field to sort by.static class
ListEventsRequest.SortOrder
The sort order to use, either ‘asc’ or ‘desc’.
-
Constructor Summary
Constructors Constructor Description ListEventsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListEventsRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getCompartmentId()
The ID of the compartment in which to list resources.String
getEventId()
Unique event identifier (OCID)EventType
getEventType()
A filter to return only event of given type.Date
getLatestTimestampGreaterThanOrEqualTo()
filter event occurrence.Date
getLatestTimestampLessThan()
filter event occurrence.Integer
getLimit()
The maximum number of items to return.String
getManagedInstanceId()
Instance Oracle Cloud identifier (ocid)String
getOpcRequestId()
The client request ID for tracing.String
getPage()
The page token representing the page at which to start retrieving results.ListEventsRequest.SortBy
getSortBy()
The field to sort by.ListEventsRequest.SortOrder
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListEventsRequest.Builder
toBuilder()
Return an instance ofListEventsRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getManagedInstanceId
public String getManagedInstanceId()
Instance Oracle Cloud identifier (ocid)
-
getCompartmentId
public String getCompartmentId()
The ID of the compartment in which to list resources.
-
getEventId
public String getEventId()
Unique event identifier (OCID)
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
-
getSortOrder
public ListEventsRequest.SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
-
getSortBy
public ListEventsRequest.SortBy getSortBy()
The field to sort by.Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
getEventType
public EventType getEventType()
A filter to return only event of given type.
-
getLatestTimestampLessThan
public Date getLatestTimestampLessThan()
filter event occurrence.Selecting only those last occurred before given date in ISO 8601 format Example: 2017-07-14T02:40:00.000Z
-
getLatestTimestampGreaterThanOrEqualTo
public Date getLatestTimestampGreaterThanOrEqualTo()
filter event occurrence.Selecting only those last occurred on or after given date in ISO 8601 format Example: 2017-07-14T02:40:00.000Z
-
toBuilder
public ListEventsRequest.Builder toBuilder()
Return an instance ofListEventsRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListEventsRequest.Builder
that allows you to modify request properties.
-
builder
public static ListEventsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-