Class FetchExperimentEventsResponse.Builder
-
- All Implemented Interfaces:
public final class FetchExperimentEventsResponse.BuilderA builder for FetchExperimentEventsResponse.
-
-
Method Summary
-
-
Method Detail
-
events
final FetchExperimentEventsResponse.Builder events(List<ExperimentEvent> events)
A list of fetched events
-
events
final FetchExperimentEventsResponse.Builder events(JsonField<List<ExperimentEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<ExperimentEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final FetchExperimentEventsResponse.Builder addEvent(ExperimentEvent event)
Adds a single ExperimentEvent to events.
-
cursor
final FetchExperimentEventsResponse.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 FetchExperimentEventsResponse.Builder cursor(Optional<String> cursor)
Alias for calling Builder.cursor with
cursor.orElse(null).
-
cursor
final FetchExperimentEventsResponse.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 FetchExperimentEventsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FetchExperimentEventsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FetchExperimentEventsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FetchExperimentEventsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FetchExperimentEventsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FetchExperimentEventsResponse build()
Returns an immutable instance of FetchExperimentEventsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.events()
-
-
-
-