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