public static class PatchOperation.Builder extends Object
PatchOperation instances| Constructor and Description |
|---|
Builder() |
Builder(PatchOperation operation)
builds an Builder based of the given Attribute
|
| Modifier and Type | Method and Description |
|---|---|
PatchOperation |
build()
build
PatchOperation object based on attributes set on builder |
PatchOperation.Builder |
setOp(PatchOperation.Type op)
Sets the patch operation's type.
|
PatchOperation.Builder |
setPath(String path)
Set patch operation's path
|
PatchOperation.Builder |
setValue(com.fasterxml.jackson.databind.JsonNode value)
Sets the operation's value.
|
public Builder()
public Builder(PatchOperation operation)
operation - existing Attributepublic PatchOperation.Builder setOp(PatchOperation.Type op)
op - public PatchOperation.Builder setPath(String path)
path - public PatchOperation.Builder setValue(com.fasterxml.jackson.databind.JsonNode value)
value - of the value attributepublic PatchOperation build()
PatchOperation object based on attributes set on builderPatchOperation objectCopyright © 2022 SAP SE. All rights reserved.