Class AsyncJobStatus.AsyncJobStatusBuilder
java.lang.Object
com.amilesend.onedrive.resource.item.type.AsyncJobStatus.AsyncJobStatusBuilder
- Enclosing class:
AsyncJobStatus
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The type of job being performed.percentageComplete(double percentageComplete) A value between 0.0 and 100.0 that indicates the current progress as a percentage.resourceId(String resourceId) The identifier associated with the job.The current status associated with the job.statusDescription(String statusDescription) A detailed description of the job status.toString()
-
Method Details
-
operation
The type of job being performed. Valid values include:- ItemCopy
- DownloadUrl
- Returns:
this.
-
percentageComplete
A value between 0.0 and 100.0 that indicates the current progress as a percentage.- Returns:
this.
-
resourceId
The identifier associated with the job.- Returns:
this.
-
status
The current status associated with the job. Valid values include:- notStarted
- inProgress
- completed
- failed
- cancelled
- waiting
- cancelPending
- Returns:
this.
-
statusDescription
A detailed description of the job status.- Returns:
this.
-
build
-
toString
-