Class ListEventsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.audit.requests.ListEventsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190901") public class ListEventsRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.1/audit/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
-
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.Date
getEndTime()
Returns events that were processed before this end date and time, expressed in RFC 3339 timestamp format.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getPage()
For list pagination.Date
getStartTime()
Returns events that were processed at or after this start date and time, expressed in RFC 3339 timestamp format.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
-
getStartTime
public Date getStartTime()
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.
-
getEndTime
public Date getEndTime()
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.
-
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.
-
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.
-
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>
-
-