Class BetaSessionWorkData.Builder
-
- All Implemented Interfaces:
public final class BetaSessionWorkData.BuilderA builder for BetaSessionWorkData.
-
-
Method Summary
Modifier and Type Method Description final BetaSessionWorkData.Builderid(String id)Session identifier (e.g., 'session_... final BetaSessionWorkData.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final BetaSessionWorkData.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaSessionWorkData.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSessionWorkData.BuilderputAdditionalProperty(String key, JsonValue value)final BetaSessionWorkData.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaSessionWorkData.BuilderremoveAdditionalProperty(String key)final BetaSessionWorkData.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaSessionWorkDatabuild()Returns an immutable instance of BetaSessionWorkData. -
-
Method Detail
-
id
final BetaSessionWorkData.Builder id(String id)
Session identifier (e.g., 'session_...')
-
id
final BetaSessionWorkData.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaSessionWorkData.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("session")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaSessionWorkData.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaSessionWorkData.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaSessionWorkData.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaSessionWorkData.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaSessionWorkData.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaSessionWorkData build()
Returns an immutable instance of BetaSessionWorkData.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-