Package com.braintrustdata.api.models
Class InsertEventsResponse.Builder
-
- All Implemented Interfaces:
public final class InsertEventsResponse.BuilderA builder for InsertEventsResponse.
-
-
Method Summary
Modifier and Type Method Description final InsertEventsResponse.BuilderrowIds(List<String> rowIds)The ids of all rows that were inserted, aligning one-to-one with the rows provided as input final InsertEventsResponse.BuilderrowIds(JsonField<List<String>> rowIds)Sets Builder.rowIds to an arbitrary JSON value. final InsertEventsResponse.BuilderaddRowId(String rowId)Adds a single String to rowIds. final InsertEventsResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final InsertEventsResponse.BuilderputAdditionalProperty(String key, JsonValue value)final InsertEventsResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final InsertEventsResponse.BuilderremoveAdditionalProperty(String key)final InsertEventsResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final InsertEventsResponsebuild()Returns an immutable instance of InsertEventsResponse. -
-
Method Detail
-
rowIds
final InsertEventsResponse.Builder rowIds(List<String> rowIds)
The ids of all rows that were inserted, aligning one-to-one with the rows provided as input
-
rowIds
final InsertEventsResponse.Builder rowIds(JsonField<List<String>> rowIds)
Sets Builder.rowIds to an arbitrary JSON value.
You should usually call Builder.rowIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRowId
final InsertEventsResponse.Builder addRowId(String rowId)
-
additionalProperties
final InsertEventsResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InsertEventsResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InsertEventsResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InsertEventsResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InsertEventsResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InsertEventsResponse build()
Returns an immutable instance of InsertEventsResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.rowIds()
-
-
-
-