Class ListEventsRequest


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20220901")
    public class ListEventsRequest
    extends BmcRequest<Void>

    Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.65.0/osmanagementhub/ListEventsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEventsRequest.

    • Constructor Detail

      • ListEventsRequest

        public ListEventsRequest()
    • Method Detail

      • getEventSummary

        public String getEventSummary()
        A filter to return only events whose summary matches the given value.
      • getEventSummaryContains

        public String getEventSummaryContains()
        A filter to return only events with a summary that contains the value provided.
      • getId

        public String getId()
        The OCID of the event.
      • getEventFingerprint

        public String getEventFingerprint()
        The eventFingerprint of the KernelEventData.
      • getCompartmentId

        public String getCompartmentId()
        The OCID of the compartment that contains the resources to list.

        This filter returns only resources contained within the specified compartment.

      • getLifecycleState

        public Event.LifecycleState getLifecycleState()
        A filter to return only events that match the state provided.

        The state value is case-insensitive.

      • getResourceId

        public String getResourceId()
        The OCID of the resource.

        This filter returns resources associated with the specified resource.

      • getType

        public List<EventType> getType()
        A filter to return only resources whose type matches the given value.
      • getLimit

        public Integer getLimit()
        For list pagination.

        The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.

        Example: 50

      • getPage

        public String getPage()
        For list pagination.

        The value of the opc-next-page response header from the previous “List” call. For important details about how pagination works, see List Pagination.

        Example: 3

      • getTimeCreatedLessThan

        public Date getTimeCreatedLessThan()
        A filter that returns events that occurred on or before the date provided.

        Example: 2016-08-25T21:10:29.600Z

      • getTimeCreatedGreaterThanOrEqualTo

        public Date getTimeCreatedGreaterThanOrEqualTo()
        A filter that returns events that occurred on or after the date provided.

        Example: 2016-08-25T21:10:29.600Z

      • getSortOrder

        public 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, timeOccurredAt and timeUpdated is descending. Default order for eventSummary is ascending.

      • getOpcRequestId

        public String getOpcRequestId()
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

      • getIsManagedByAutonomousLinux

        public Boolean getIsManagedByAutonomousLinux()
        Indicates whether to list only resources managed by the Autonomous Linux service.
      • 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>