Class BetaManagedAgentsUserInterruptEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserInterruptEvent.BuilderA builder for BetaManagedAgentsUserInterruptEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsUserInterruptEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsUserInterruptEvent.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 BetaManagedAgentsUserInterruptEvent.Builder type(BetaManagedAgentsUserInterruptEvent.Type type)
-
type
final BetaManagedAgentsUserInterruptEvent.Builder type(JsonField<BetaManagedAgentsUserInterruptEvent.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.
-
processedAt
final BetaManagedAgentsUserInterruptEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsUserInterruptEvent.Builder processedAt(Optional<OffsetDateTime> processedAt)
Alias for calling Builder.processedAt with
processedAt.orElse(null).
-
processedAt
final BetaManagedAgentsUserInterruptEvent.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 BetaManagedAgentsUserInterruptEvent.Builder sessionThreadId(String sessionThreadId)
If absent, interrupts every non-archived thread in a multiagent session (or the primary alone in a single-agent session). If present, interrupts only the named thread.
-
sessionThreadId
final BetaManagedAgentsUserInterruptEvent.Builder sessionThreadId(Optional<String> sessionThreadId)
Alias for calling Builder.sessionThreadId with
sessionThreadId.orElse(null).
-
sessionThreadId
final BetaManagedAgentsUserInterruptEvent.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.
-
additionalProperties
final BetaManagedAgentsUserInterruptEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsUserInterruptEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsUserInterruptEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsUserInterruptEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsUserInterruptEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsUserInterruptEvent build()
Returns an immutable instance of BetaManagedAgentsUserInterruptEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .type()
-
-
-
-