public static class PatchInsertMultipleInstruction.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PatchInsertMultipleInstruction |
build() |
PatchInsertMultipleInstruction.Builder |
copy(PatchInsertMultipleInstruction model) |
PatchInsertMultipleInstruction.Builder |
position(PatchInsertMultipleInstruction.Position position)
Where to insert the values, relative to the first item matched by
selectedItem . |
PatchInsertMultipleInstruction.Builder |
selectedItem(String selectedItem)
A selection to be evaluated against the array for identifying a particular reference item
within it, with the same format and semantics as
selection . |
PatchInsertMultipleInstruction.Builder |
selection(String selection) |
PatchInsertMultipleInstruction.Builder |
values(List<Object> values)
A list of consecutive values to be inserted into the target.
|
public PatchInsertMultipleInstruction.Builder selection(String selection)
public PatchInsertMultipleInstruction.Builder values(List<Object> values)
A list of consecutive values to be inserted into the target.
values
- the value to setpublic PatchInsertMultipleInstruction.Builder selectedItem(String selectedItem)
A selection to be evaluated against the array for identifying a particular reference item
within it, with the same format and semantics as selection
.
selectedItem
- the value to setpublic PatchInsertMultipleInstruction.Builder position(PatchInsertMultipleInstruction.Position position)
Where to insert the values, relative to the first item matched by selectedItem
.
If selectedItem
is unspecified, then “BEFORE” specifies insertion at the first
position in an array and “AFTER” specifies insertion at the last position. If selectedItem
is specified but results in an empty selection, then both values specify
insertion at the last position.
position
- the value to setpublic PatchInsertMultipleInstruction build()
public PatchInsertMultipleInstruction.Builder copy(PatchInsertMultipleInstruction model)
Copyright © 2016–2024. All rights reserved.