Class PatchInsertMultipleInstruction.Builder
- java.lang.Object
-
- com.oracle.bmc.demandsignal.model.PatchInsertMultipleInstruction.Builder
-
- Enclosing class:
- PatchInsertMultipleInstruction
public static class PatchInsertMultipleInstruction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
selection
public PatchInsertMultipleInstruction.Builder selection(String selection)
-
values
public PatchInsertMultipleInstruction.Builder values(List<Object> values)
A list of consecutive values to be inserted into the target.- Parameters:
values
- the value to set- Returns:
- this builder
-
selectedItem
public 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.- Parameters:
selectedItem
- the value to set- Returns:
- this builder
-
position
public 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.
- Parameters:
position
- the value to set- Returns:
- this builder
-
build
public PatchInsertMultipleInstruction build()
-
copy
public PatchInsertMultipleInstruction.Builder copy(PatchInsertMultipleInstruction model)
-
-