Class BetaManagedAgentsSessionActor.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionActor.BuilderA builder for BetaManagedAgentsSessionActor.
-
-
Method Summary
Modifier and Type Method Description final BetaManagedAgentsSessionActor.BuildersessionId(String sessionId)ID of the session (a sesn_...value).final BetaManagedAgentsSessionActor.BuildersessionId(JsonField<String> sessionId)Sets Builder.sessionId to an arbitrary JSON value. final BetaManagedAgentsSessionActor.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaManagedAgentsSessionActor.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaManagedAgentsSessionActor.BuilderputAdditionalProperty(String key, JsonValue value)final BetaManagedAgentsSessionActor.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaManagedAgentsSessionActor.BuilderremoveAdditionalProperty(String key)final BetaManagedAgentsSessionActor.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaManagedAgentsSessionActorbuild()Returns an immutable instance of BetaManagedAgentsSessionActor. -
-
Method Detail
-
sessionId
final BetaManagedAgentsSessionActor.Builder sessionId(String sessionId)
ID of the session (a
sesn_...value). Look up the session via /en/api/beta/sessions/retrieve for further provenance.
-
sessionId
final BetaManagedAgentsSessionActor.Builder sessionId(JsonField<String> sessionId)
Sets Builder.sessionId to an arbitrary JSON value.
You should usually call Builder.sessionId 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 BetaManagedAgentsSessionActor.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_actor")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSessionActor.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionActor.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionActor.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionActor.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionActor.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionActor build()
Returns an immutable instance of BetaManagedAgentsSessionActor.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.sessionId()
-
-
-
-