Class ApplyPatchTool.Builder
-
- All Implemented Interfaces:
public final class ApplyPatchTool.BuilderA builder for ApplyPatchTool.
-
-
Method Summary
-
-
Method Detail
-
type
final ApplyPatchTool.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 ApplyPatchTool.Builder allowedCallers(List<ApplyPatchTool.AllowedCaller> allowedCallers)
The tool invocation context(s).
-
allowedCallers
final ApplyPatchTool.Builder allowedCallers(Optional<List<ApplyPatchTool.AllowedCaller>> allowedCallers)
Alias for calling Builder.allowedCallers with
allowedCallers.orElse(null).
-
allowedCallers
final ApplyPatchTool.Builder allowedCallers(JsonField<List<ApplyPatchTool.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 ApplyPatchTool.Builder addAllowedCaller(ApplyPatchTool.AllowedCaller allowedCaller)
Adds a single AllowedCaller to allowedCallers.
-
additionalProperties
final ApplyPatchTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ApplyPatchTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ApplyPatchTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ApplyPatchTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ApplyPatchTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ApplyPatchTool build()
Returns an immutable instance of ApplyPatchTool.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-