Class ListEventsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.osmanagementhub.requests.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListEventsRequest.Builder
static class
ListEventsRequest.SortBy
The field to sort by.
-
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 OCID of the compartment that contains the resources to list.String
getEventFingerprint()
The eventFingerprint of the KernelEventData.String
getEventSummary()
A filter to return only events whose summary matches the given value.String
getEventSummaryContains()
A filter to return only events with a summary that contains the value provided.String
getId()
The OCID of the event.Boolean
getIsManagedByAutonomousLinux()
Indicates whether to list only resources managed by the Autonomous Linux service.Event.LifecycleState
getLifecycleState()
A filter to return only events that match the state provided.Integer
getLimit()
For list pagination.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getPage()
For list pagination.String
getResourceId()
The OCID of the resource.ListEventsRequest.SortBy
getSortBy()
The field to sort by.SortOrder
getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.Date
getTimeCreatedGreaterThanOrEqualTo()
A filter that returns events that occurred on or after the date provided.Date
getTimeCreatedLessThan()
A filter that returns events that occurred on or before the date provided.List<EventType>
getType()
A filter to return only resources whose type matches the given value.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
-
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.
-
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.
-
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>
-
-