Class BetaWebFetchToolResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaWebFetchToolResultBlock.BuilderA builder for BetaWebFetchToolResultBlock.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaWebFetchToolResultBlock.Builder content(BetaWebFetchToolResultBlock.Content content)
-
content
final BetaWebFetchToolResultBlock.Builder content(JsonField<BetaWebFetchToolResultBlock.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final BetaWebFetchToolResultBlock.Builder content(BetaWebFetchToolResultErrorBlock betaWebFetchToolResultErrorBlock)
Alias for calling content with
Content.ofBetaWebFetchToolResultErrorBlock(betaWebFetchToolResultErrorBlock).
-
content
final BetaWebFetchToolResultBlock.Builder content(BetaWebFetchBlock betaWebFetchBlock)
Alias for calling content with
Content.ofBetaWebFetchBlock(betaWebFetchBlock).
-
toolUseId
final BetaWebFetchToolResultBlock.Builder toolUseId(String toolUseId)
-
toolUseId
final BetaWebFetchToolResultBlock.Builder toolUseId(JsonField<String> toolUseId)
Sets Builder.toolUseId to an arbitrary JSON value.
You should usually call Builder.toolUseId 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 BetaWebFetchToolResultBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("web_fetch_tool_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaWebFetchToolResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaWebFetchToolResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaWebFetchToolResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaWebFetchToolResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaWebFetchToolResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaWebFetchToolResultBlock build()
Returns an immutable instance of BetaWebFetchToolResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .toolUseId()
-
-
-
-