public static class ListEventsRequest.Builder extends Object implements BmcRequest.Builder<ListEventsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListEventsRequest |
build()
Build the instance of ListEventsRequest as configured by this builder
|
ListEventsRequest |
buildWithoutInvocationCallback() |
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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListEventsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.util.internal.Consumer)
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.Builder compartmentId(String compartmentId)
The OCID of the compartment.
this
.public 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
.
this
.public 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
.
this
.public 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.
this
.public 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.
this
.public ListEventsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.