Class BetaManagedAgentsCustomToolInputSchema.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCustomToolInputSchema.BuilderA builder for BetaManagedAgentsCustomToolInputSchema.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsCustomToolInputSchema.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("object")This method is primarily for setting the field to an undocumented or not yet supported value.
-
properties
final BetaManagedAgentsCustomToolInputSchema.Builder properties(BetaManagedAgentsCustomToolInputSchema.Properties properties)
-
properties
final BetaManagedAgentsCustomToolInputSchema.Builder properties(Optional<BetaManagedAgentsCustomToolInputSchema.Properties> properties)
Alias for calling Builder.properties with
properties.orElse(null).
-
properties
final BetaManagedAgentsCustomToolInputSchema.Builder properties(JsonField<BetaManagedAgentsCustomToolInputSchema.Properties> properties)
Sets Builder.properties to an arbitrary JSON value.
You should usually call Builder.properties with a well-typed Properties value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
required
final BetaManagedAgentsCustomToolInputSchema.Builder required(List<String> required)
-
required
final BetaManagedAgentsCustomToolInputSchema.Builder required(Optional<List<String>> required)
Alias for calling Builder.required with
required.orElse(null).
-
required
final BetaManagedAgentsCustomToolInputSchema.Builder required(JsonField<List<String>> required)
Sets Builder.required to an arbitrary JSON value.
You should usually call Builder.required with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRequired
final BetaManagedAgentsCustomToolInputSchema.Builder addRequired(String required)
Adds a single String to Builder.required.
-
additionalProperties
final BetaManagedAgentsCustomToolInputSchema.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsCustomToolInputSchema.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsCustomToolInputSchema.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsCustomToolInputSchema.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsCustomToolInputSchema.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsCustomToolInputSchema build()
Returns an immutable instance of BetaManagedAgentsCustomToolInputSchema.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-