public final class EnterpriseEventsRequest extends Object
new EnterpriseEventsRequest().position("stream_position").limit(50);
Constructor and Description |
---|
EnterpriseEventsRequest() |
Modifier and Type | Method and Description |
---|---|
EnterpriseEventsRequest |
after(Date date)
The lower bound on the timestamp of the events returned.
|
EnterpriseEventsRequest |
before(Date date)
The upper bound on the timestamp of the events returned.
|
EnterpriseEventsRequest |
limit(int limit)
The number of entries to be returned in the response.
|
EnterpriseEventsRequest |
position(String position)
The starting position of the event stream.
|
EnterpriseEventsRequest |
typeNames(String... typeNames)
List of event type names to filter by.
|
EnterpriseEventsRequest |
types(BoxEvent.EventType... types)
List of event types to filter by.
|
public EnterpriseEventsRequest()
public EnterpriseEventsRequest after(Date date)
date
- the lower bound on the timestamp of the events returned.public EnterpriseEventsRequest before(Date date)
date
- the upper bound on the timestamp of the events returned.public EnterpriseEventsRequest position(String position)
position
- the starting position of the event stream.public EnterpriseEventsRequest limit(int limit)
limit
- the number of entries to be returned in the response.public EnterpriseEventsRequest types(BoxEvent.EventType... types)
types
- list of event types to filter by.public EnterpriseEventsRequest typeNames(String... typeNames)
typeNames
- list of event type names to filter by.