Class 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/3.63.1/osmanagement/ListEventsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEventsRequest.

    • Constructor Detail

      • ListEventsRequest

        public ListEventsRequest()
    • 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.

      • 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

      • 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 class BmcRequest<Void>
      • hashCode

        public int hashCode()
        Description copied from class: BmcRequest
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class BmcRequest<Void>