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.
|
ListEventsRequest.Builder |
copy(ListEventsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListEventsRequest.Builder |
endTime(Date endTime)
Returns events that were processed before this end date and time, expressed in RFC
3339 timestamp format.
|
ListEventsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListEventsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListEventsRequest.Builder |
page(String page)
For list pagination.
|
ListEventsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListEventsRequest.Builder |
startTime(Date startTime)
Returns events that were processed at or after this start date and time, expressed in
RFC 3339 timestamp format.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListEventsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic ListEventsRequest.Builder startTime(Date startTime)
Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format.
For example, a start value of 2017-01-15T11:30:00Z
will retrieve a list of all
events processed since 30 minutes after the 11th hour of January 15, 2017, in Coordinated
Universal Time (UTC). You can specify a value with granularity to the minute. Seconds
(and milliseconds, if included) must be set to 0
.
startTime
- the value to setpublic ListEventsRequest.Builder endTime(Date endTime)
Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format.
For example, a start value of 2017-01-01T00:00:00Z
and an end value of 2017-01-02T00:00:00Z
will retrieve a list of all events processed on January 1, 2017.
Similarly, a start value of 2017-01-01T00:00:00Z
and an end value of 2017-02-01T00:00:00Z
will result in a list of all events processed between January 1,
2017 and January 31, 2017. You can specify a value with granularity to the minute.
Seconds (and milliseconds, if included) must be set to 0
.
endTime
- 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.
page
- 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 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.