Class BetaManagedAgentsDeploymentSystemMessageEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeploymentSystemMessageEvent.BuilderA builder for BetaManagedAgentsDeploymentSystemMessageEvent.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder content(List<BetaManagedAgentsSystemContentBlock> content)
System content blocks to append. Text-only.
-
content
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder content(JsonField<List<BetaManagedAgentsSystemContentBlock>> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed
List<BetaManagedAgentsSystemContentBlock>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addContent
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder addContent(BetaManagedAgentsSystemContentBlock content)
Adds a single BetaManagedAgentsSystemContentBlock to Builder.content.
-
addTextContent
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder addTextContent(String text)
Alias for calling addContent with the following:
BetaManagedAgentsSystemContentBlock.builder() .type(BetaManagedAgentsSystemContentBlock.Type.TEXT) .text(text) .build()
-
type
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder type(BetaManagedAgentsDeploymentSystemMessageEvent.Type type)
-
type
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder type(JsonField<BetaManagedAgentsDeploymentSystemMessageEvent.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 BetaManagedAgentsDeploymentSystemMessageEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsDeploymentSystemMessageEvent build()
Returns an immutable instance of BetaManagedAgentsDeploymentSystemMessageEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .type()
-
-
-
-