Class Operations.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.Operations.Builder
-
- Enclosing class:
- Operations
public static class Operations.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Operations
build()
Operations.Builder
copy(Operations model)
Operations.Builder
op(Operations.Op op)
Defines the operation to be performed for this Patch.Operations.Builder
path(String path)
String containing an attribute path describing the target of the operation.Operations.Builder
value(Object value)
The value could be either a simple value attribute e.g.
-
-
-
Method Detail
-
op
public Operations.Builder op(Operations.Op op)
Defines the operation to be performed for this Patch.If op=remove, value is not required.
- Parameters:
op
- the value to set- Returns:
- this builder
-
path
public Operations.Builder path(String path)
String containing an attribute path describing the target of the operation.The “path” attribute is OPTIONAL for “add” and “replace” and is REQUIRED for “remove” operations. See Section 3.5.2 for details
- Parameters:
path
- the value to set- Returns:
- this builder
-
value
public Operations.Builder value(Object value)
The value could be either a simple value attribute e.g.string or number OR complex like map of the attributes to be added or replaced OR multivalues complex attributes.q1
- Parameters:
value
- the value to set- Returns:
- this builder
-
build
public Operations build()
-
copy
public Operations.Builder copy(Operations model)
-
-