Class BetaManagedAgentsBudgetLimit.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsBudgetLimit.BuilderA builder for BetaManagedAgentsBudgetLimit.
-
-
Method Summary
-
-
Method Detail
-
maxListCost
final BetaManagedAgentsBudgetLimit.Builder maxListCost(BetaMonetaryAmount maxListCost)
Maximum list cost the session may accrue. List price is used regardless of any negotiated discount, so the cap fires at or before the actual charge.
-
maxListCost
final BetaManagedAgentsBudgetLimit.Builder maxListCost(JsonField<BetaMonetaryAmount> maxListCost)
Sets Builder.maxListCost to an arbitrary JSON value.
You should usually call Builder.maxListCost with a well-typed BetaMonetaryAmount value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsBudgetLimit.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("limit")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsBudgetLimit.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsBudgetLimit.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsBudgetLimit.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsBudgetLimit.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsBudgetLimit.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsBudgetLimit build()
Returns an immutable instance of BetaManagedAgentsBudgetLimit.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.maxListCost()
-
-
-
-