Class BetaManagedAgentsSessionUpdatedEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionUpdatedEvent.BuilderA builder for BetaManagedAgentsSessionUpdatedEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsSessionUpdatedEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsSessionUpdatedEvent.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.
-
processedAt
final BetaManagedAgentsSessionUpdatedEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsSessionUpdatedEvent.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.
-
type
final BetaManagedAgentsSessionUpdatedEvent.Builder type(BetaManagedAgentsSessionUpdatedEvent.Type type)
-
type
final BetaManagedAgentsSessionUpdatedEvent.Builder type(JsonField<BetaManagedAgentsSessionUpdatedEvent.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.
-
agent
final BetaManagedAgentsSessionUpdatedEvent.Builder agent(BetaManagedAgentsSessionAgent agent)
Resolved
agentdefinition for asession. Snapshot of theagentatsessioncreation time.
-
agent
final BetaManagedAgentsSessionUpdatedEvent.Builder agent(Optional<BetaManagedAgentsSessionAgent> agent)
Alias for calling Builder.agent with
agent.orElse(null).
-
agent
final BetaManagedAgentsSessionUpdatedEvent.Builder agent(JsonField<BetaManagedAgentsSessionAgent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed BetaManagedAgentsSessionAgent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final BetaManagedAgentsSessionUpdatedEvent.Builder metadata(BetaManagedAgentsSessionUpdatedEvent.Metadata metadata)
The session's full metadata bag after the update. Present when the update set non-empty metadata; absent when metadata was unchanged or cleared to empty.
-
metadata
final BetaManagedAgentsSessionUpdatedEvent.Builder metadata(JsonField<BetaManagedAgentsSessionUpdatedEvent.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final BetaManagedAgentsSessionUpdatedEvent.Builder title(String title)
The session's new title. Present only when the update changed it.
-
title
final BetaManagedAgentsSessionUpdatedEvent.Builder title(Optional<String> title)
Alias for calling Builder.title with
title.orElse(null).
-
title
final BetaManagedAgentsSessionUpdatedEvent.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title 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 BetaManagedAgentsSessionUpdatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionUpdatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionUpdatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionUpdatedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionUpdatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionUpdatedEvent build()
Returns an immutable instance of BetaManagedAgentsSessionUpdatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .processedAt() .type()
-
-
-
-