Package com.oracle.bmc.audit.model
Class StateChange.Builder
- java.lang.Object
-
- com.oracle.bmc.audit.model.StateChange.Builder
-
- Enclosing class:
- StateChange
public static class StateChange.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateChange
build()
StateChange.Builder
copy(StateChange model)
StateChange.Builder
current(Map<String,Object> current)
Provides the current state of fields that may have changed during an operation.StateChange.Builder
previous(Map<String,Object> previous)
Provides the previous state of fields that may have changed during an operation.
-
-
-
Method Detail
-
previous
public StateChange.Builder previous(Map<String,Object> previous)
Provides the previous state of fields that may have changed during an operation.To determine how the current operation changed a resource, compare the information in this attribute to current.
- Parameters:
previous
- the value to set- Returns:
- this builder
-
current
public StateChange.Builder current(Map<String,Object> current)
Provides the current state of fields that may have changed during an operation.To determine how the current operation changed a resource, compare the information in this attribute to previous.
- Parameters:
current
- the value to set- Returns:
- this builder
-
build
public StateChange build()
-
copy
public StateChange.Builder copy(StateChange model)
-
-