Class BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadStatusRescheduledEvent.BuilderA builder for BetaManagedAgentsSessionThreadStatusRescheduledEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.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 BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder agentName(String agentName)
Name of the agent the thread runs.
-
agentName
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.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 BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.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 BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder sessionThreadId(String sessionThreadId)
Public sthr_ ID of the thread that is retrying.
-
sessionThreadId
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.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 BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder type(BetaManagedAgentsSessionThreadStatusRescheduledEvent.Type type)
-
type
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder type(JsonField<BetaManagedAgentsSessionThreadStatusRescheduledEvent.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 BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionThreadStatusRescheduledEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionThreadStatusRescheduledEvent build()
Returns an immutable instance of BetaManagedAgentsSessionThreadStatusRescheduledEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .agentName() .processedAt() .sessionThreadId() .type()
-
-
-
-