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