Class BetaManagedAgentsUserInterruptEventParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUserInterruptEventParams.BuilderA builder for BetaManagedAgentsUserInterruptEventParams.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsUserInterruptEventParams.Builder type(BetaManagedAgentsUserInterruptEventParams.Type type)
-
type
final BetaManagedAgentsUserInterruptEventParams.Builder type(JsonField<BetaManagedAgentsUserInterruptEventParams.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.
-
sessionThreadId
final BetaManagedAgentsUserInterruptEventParams.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 BetaManagedAgentsUserInterruptEventParams.Builder sessionThreadId(Optional<String> sessionThreadId)
Alias for calling Builder.sessionThreadId with
sessionThreadId.orElse(null).
-
sessionThreadId
final BetaManagedAgentsUserInterruptEventParams.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 BetaManagedAgentsUserInterruptEventParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsUserInterruptEventParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsUserInterruptEventParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsUserInterruptEventParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsUserInterruptEventParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsUserInterruptEventParams build()
Returns an immutable instance of BetaManagedAgentsUserInterruptEventParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-