public static class ListEventsRequest.Builder extends Object implements BmcRequest.Builder<ListEventsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListEventsRequest |
build()
Build the instance of ListEventsRequest as configured by this builder
|
ListEventsRequest |
buildWithoutInvocationCallback()
Build the instance of ListEventsRequest as configured by this builder
|
ListEventsRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.
|
ListEventsRequest.Builder |
copy(ListEventsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListEventsRequest.Builder |
eventFingerprint(String eventFingerprint)
The eventFingerprint of the KernelEventData.
|
ListEventsRequest.Builder |
eventSummary(String eventSummary)
A filter to return only events whose summary matches the given value.
|
ListEventsRequest.Builder |
eventSummaryContains(String eventSummaryContains)
A filter to return only events with a summary that contains the value provided.
|
ListEventsRequest.Builder |
id(String id)
The OCID
of the event.
|
ListEventsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListEventsRequest.Builder |
isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether to list only resources managed by the Autonomous Linux service.
|
ListEventsRequest.Builder |
lifecycleState(Event.LifecycleState lifecycleState)
A filter to return only events that match the state provided.
|
ListEventsRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListEventsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListEventsRequest.Builder |
page(String page)
For list pagination.
|
ListEventsRequest.Builder |
resourceId(String resourceId)
The OCID
of the resource.
|
ListEventsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListEventsRequest.Builder |
sortBy(ListEventsRequest.SortBy sortBy)
The field to sort by.
|
ListEventsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListEventsRequest.Builder |
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that returns events that occurred on or after the date provided.
|
ListEventsRequest.Builder |
timeCreatedLessThan(Date timeCreatedLessThan)
A filter that returns events that occurred on or before the date provided.
|
ListEventsRequest.Builder |
type(EventType singularValue)
Singular setter.
|
ListEventsRequest.Builder |
type(List<EventType> type)
A filter to return only resources whose type matches the given value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListEventsRequest.Builder eventSummary(String eventSummary)
A filter to return only events whose summary matches the given value.
eventSummary
- the value to setpublic ListEventsRequest.Builder eventSummaryContains(String eventSummaryContains)
A filter to return only events with a summary that contains the value provided.
eventSummaryContains
- the value to setpublic ListEventsRequest.Builder id(String id)
The OCID of the event.
id
- the value to setpublic ListEventsRequest.Builder eventFingerprint(String eventFingerprint)
The eventFingerprint of the KernelEventData.
eventFingerprint
- the value to setpublic ListEventsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
compartmentId
- the value to setpublic ListEventsRequest.Builder lifecycleState(Event.LifecycleState lifecycleState)
A filter to return only events that match the state provided. The state value is case-insensitive.
lifecycleState
- the value to setpublic ListEventsRequest.Builder resourceId(String resourceId)
The OCID of the resource. This filter returns resources associated with the specified resource.
resourceId
- the value to setpublic ListEventsRequest.Builder type(List<EventType> type)
A filter to return only resources whose type matches the given value.
type
- the value to setpublic ListEventsRequest.Builder type(EventType singularValue)
Singular setter. A filter to return only resources whose type matches the given value.
singularValue
- the singular value to setpublic ListEventsRequest.Builder limit(Integer limit)
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
limit
- the value to setpublic ListEventsRequest.Builder page(String page)
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
page
- the value to setpublic ListEventsRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
A filter that returns events that occurred on or before the date provided. Example:
2016-08-25T21:10:29.600Z
timeCreatedLessThan
- the value to setpublic ListEventsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that returns events that occurred on or after the date provided. Example: 2016-08-25T21:10:29.600Z
timeCreatedGreaterThanOrEqualTo
- the value to setpublic ListEventsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListEventsRequest.Builder sortBy(ListEventsRequest.SortBy sortBy)
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.
sortBy
- the value to setpublic ListEventsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListEventsRequest.Builder isManagedByAutonomousLinux(Boolean isManagedByAutonomousLinux)
Indicates whether to list only resources managed by the Autonomous Linux service.
isManagedByAutonomousLinux
- the value to setpublic ListEventsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListEventsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListEventsRequest.Builder copy(ListEventsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListEventsRequest,Void>
o
- other request from which to copy valuespublic ListEventsRequest build()
Build the instance of ListEventsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListEventsRequest,Void>
public ListEventsRequest buildWithoutInvocationCallback()
Build the instance of ListEventsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.