public static final class ProgressItemPart.Builder
extends java.lang.Object
ProgressItemPart.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ProgressItemPart. |
| Modifier and Type | Method and Description |
|---|---|
ProgressItemPart |
build() |
ProgressItemPart.Builder |
setDescription(java.lang.String description)
Description of the process
|
ProgressItemPart.Builder |
setError(java.lang.String error)
Error message, if ran into error
|
ProgressItemPart.Builder |
setName(java.lang.String name)
Name of the process
|
ProgressItemPart.Builder |
setPercentage(java.lang.Long percentage)
0 - 100 of the task being completed format: int64
|
ProgressItemPart.Builder |
setStatus(java.lang.String status)
Possible values are:
ProgressItemPart.STATUS_RUNNING ProgressItemPart.STATUS_ERROR ProgressItemPart.STATUS_COMPLETE Status of this
process |
public Builder()
ProgressItemPart.public ProgressItemPart.Builder setDescription(java.lang.String description)
description - New value for the property.public ProgressItemPart.Builder setError(java.lang.String error)
error - New value for the property.public ProgressItemPart.Builder setName(java.lang.String name)
name - New value for the property.public ProgressItemPart.Builder setPercentage(java.lang.Long percentage)
percentage - New value for the property.public ProgressItemPart.Builder setStatus(java.lang.String status)
status - New value for the property.public ProgressItemPart build()