Class FetchDatasetEventsResponse.Builder
-
- All Implemented Interfaces:
public final class FetchDatasetEventsResponse.BuilderA builder for FetchDatasetEventsResponse.
-
-
Method Summary
-
-
Method Detail
-
events
final FetchDatasetEventsResponse.Builder events(List<DatasetEvent> events)
A list of fetched events
-
events
final FetchDatasetEventsResponse.Builder events(JsonField<List<DatasetEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<DatasetEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final FetchDatasetEventsResponse.Builder addEvent(DatasetEvent event)
Adds a single DatasetEvent to events.
-
cursor
final FetchDatasetEventsResponse.Builder cursor(String cursor)
Pagination cursor
Pass this string directly as the
cursorparam to your next fetch request to get the next page of results. Not provided if the returned result set is empty.
-
cursor
final FetchDatasetEventsResponse.Builder cursor(Optional<String> cursor)
Alias for calling Builder.cursor with
cursor.orElse(null).
-
cursor
final FetchDatasetEventsResponse.Builder cursor(JsonField<String> cursor)
Sets Builder.cursor to an arbitrary JSON value.
You should usually call Builder.cursor with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FetchDatasetEventsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FetchDatasetEventsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FetchDatasetEventsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FetchDatasetEventsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FetchDatasetEventsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FetchDatasetEventsResponse build()
Returns an immutable instance of FetchDatasetEventsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.events()
-
-
-
-