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/latest/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 classListEventsRequest.Builderstatic classListEventsRequest.SortByThe 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.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The OCID of the compartment that contains the resources to list.StringgetEventFingerprint()The eventFingerprint of the KernelEventData.StringgetEventSummary()A filter to return only events whose summary matches the given value.StringgetEventSummaryContains()A filter to return only events with a summary that contains the value provided.StringgetId()The OCID of the event.BooleangetIsManagedByAutonomousLinux()Indicates whether to list only resources managed by the Autonomous Linux service.Event.LifecycleStategetLifecycleState()A filter to return only events that match the state provided.IntegergetLimit()For list pagination.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetPage()For list pagination.StringgetResourceId()The OCID of the resource.ListEventsRequest.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.DategetTimeCreatedGreaterThanOrEqualTo()A filter that returns events that occurred on or after the date provided.DategetTimeCreatedLessThan()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.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListEventsRequest.BuildertoBuilder()Return an instance ofListEventsRequest.Builderthat allows you to modify request properties.StringtoString()-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ListEventsRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-