Package com.oracle.bmc.ocvp.model
Class ResourceOperation.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.ResourceOperation.Builder
-
- Enclosing class:
- ResourceOperation
public static class ResourceOperation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOperationbuild()ResourceOperation.Buildercopy(ResourceOperation model)ResourceOperation.BuilderoperationName(String operationName)Name of the operation.ResourceOperation.BuilderoperationStatus(ResourceOperationStatus operationStatus)The operation status.ResourceOperation.BuildertimeOperationFinished(Date timeOperationFinished)The date and time the operation reached a terminal state, either FAILED OR SUCCEEDED.ResourceOperation.BuildertimeOperationStarted(Date timeOperationStarted)The date and time the operation started at IN_PROGRESS state, in the format defined by RFC3339.
-
-
-
Method Detail
-
operationName
public ResourceOperation.Builder operationName(String operationName)
Name of the operation.- Parameters:
operationName- the value to set- Returns:
- this builder
-
operationStatus
public ResourceOperation.Builder operationStatus(ResourceOperationStatus operationStatus)
The operation status.- Parameters:
operationStatus- the value to set- Returns:
- this builder
-
timeOperationStarted
public ResourceOperation.Builder timeOperationStarted(Date timeOperationStarted)
The date and time the operation started at IN_PROGRESS state, in the format defined by RFC3339.- Parameters:
timeOperationStarted- the value to set- Returns:
- this builder
-
timeOperationFinished
public ResourceOperation.Builder timeOperationFinished(Date timeOperationFinished)
The date and time the operation reached a terminal state, either FAILED OR SUCCEEDED.Format is defined by RFC3339.
- Parameters:
timeOperationFinished- the value to set- Returns:
- this builder
-
build
public ResourceOperation build()
-
copy
public ResourceOperation.Builder copy(ResourceOperation model)
-
-