Package com.oracle.bmc.rover.model
Class RoverBundleStatus.Builder
- java.lang.Object
-
- com.oracle.bmc.rover.model.RoverBundleStatus.Builder
-
- Enclosing class:
- RoverBundleStatus
public static class RoverBundleStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoverBundleStatus
build()
RoverBundleStatus.Builder
bundleName(String bundleName)
The full name of the bundle.RoverBundleStatus.Builder
copy(RoverBundleStatus model)
RoverBundleStatus.Builder
errorMessage(String errorMessage)
The error message if work request fails.RoverBundleStatus.Builder
percentComplete(Float percentComplete)
Percentage of the work request completed.RoverBundleStatus.Builder
status(RoverBundleStatus.Status status)
The progress of the workflow.RoverBundleStatus.Builder
timeAccepted(Date timeAccepted)
The date and time the work request was created.RoverBundleStatus.Builder
timeFinished(Date timeFinished)
The date and time the work request was finished.RoverBundleStatus.Builder
timeStarted(Date timeStarted)
The date and time the work request was started.
-
-
-
Method Detail
-
status
public RoverBundleStatus.Builder status(RoverBundleStatus.Status status)
The progress of the workflow.- Parameters:
status
- the value to set- Returns:
- this builder
-
percentComplete
public RoverBundleStatus.Builder percentComplete(Float percentComplete)
Percentage of the work request completed.- Parameters:
percentComplete
- the value to set- Returns:
- this builder
-
timeAccepted
public RoverBundleStatus.Builder timeAccepted(Date timeAccepted)
The date and time the work request was created.An RFC3339 formatted datetime string.
- Parameters:
timeAccepted
- the value to set- Returns:
- this builder
-
timeStarted
public RoverBundleStatus.Builder timeStarted(Date timeStarted)
The date and time the work request was started.An RFC3339 formatted datetime string.
- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeFinished
public RoverBundleStatus.Builder timeFinished(Date timeFinished)
The date and time the work request was finished.An RFC3339 formatted datetime string.
- Parameters:
timeFinished
- the value to set- Returns:
- this builder
-
bundleName
public RoverBundleStatus.Builder bundleName(String bundleName)
The full name of the bundle.- Parameters:
bundleName
- the value to set- Returns:
- this builder
-
errorMessage
public RoverBundleStatus.Builder errorMessage(String errorMessage)
The error message if work request fails.- Parameters:
errorMessage
- the value to set- Returns:
- this builder
-
build
public RoverBundleStatus build()
-
copy
public RoverBundleStatus.Builder copy(RoverBundleStatus model)
-
-