Package com.oracle.bmc.devops.model
Class PatchInsertInstruction.Builder
- java.lang.Object
-
- com.oracle.bmc.devops.model.PatchInsertInstruction.Builder
-
- Enclosing class:
- PatchInsertInstruction
public static class PatchInsertInstruction.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchInsertInstruction
build()
PatchInsertInstruction.Builder
copy(PatchInsertInstruction model)
PatchInsertInstruction.Builder
position(PatchInsertInstruction.Position position)
Where to insert the value, relative to the first item matched by selectedItem.PatchInsertInstruction.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.PatchInsertInstruction.Builder
selection(String selection)
PatchInsertInstruction.Builder
value(Object value)
A value to be inserted into the target.
-
-
-
Method Detail
-
selection
public PatchInsertInstruction.Builder selection(String selection)
-
value
public PatchInsertInstruction.Builder value(Object value)
A value to be inserted into the target.- Parameters:
value
- the value to set- Returns:
- this builder
-
selectedItem
public PatchInsertInstruction.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 PatchInsertInstruction.Builder position(PatchInsertInstruction.Position position)
Where to insert the value, 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 PatchInsertInstruction build()
-
copy
public PatchInsertInstruction.Builder copy(PatchInsertInstruction model)
-
-