Class BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadStatusTerminatedEvent.BuilderA builder for BetaManagedAgentsSessionThreadStatusTerminatedEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.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.
-
agentName
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder agentName(String agentName)
Name of the agent the thread runs.
-
agentName
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder agentName(JsonField<String> agentName)
Sets Builder.agentName to an arbitrary JSON value.
You should usually call Builder.agentName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processedAt
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder processedAt(JsonField<OffsetDateTime> processedAt)
Sets Builder.processedAt to an arbitrary JSON value.
You should usually call Builder.processedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sessionThreadId
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder sessionThreadId(String sessionThreadId)
Public sthr_ ID of the thread that terminated.
-
sessionThreadId
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder sessionThreadId(JsonField<String> sessionThreadId)
Sets Builder.sessionThreadId to an arbitrary JSON value.
You should usually call Builder.sessionThreadId 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 BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder type(BetaManagedAgentsSessionThreadStatusTerminatedEvent.Type type)
-
type
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder type(JsonField<BetaManagedAgentsSessionThreadStatusTerminatedEvent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionThreadStatusTerminatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionThreadStatusTerminatedEvent build()
Returns an immutable instance of BetaManagedAgentsSessionThreadStatusTerminatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .agentName() .processedAt() .sessionThreadId() .type()
-
-
-
-