public static abstract class UpdateDeliveryTaskRequest.Builder extends Object
Builder class for UpdateDeliveryTaskRequest.
Public Method Summary
UpdateDeliveryTaskRequest |
build()
Returns new UpdateDeliveryTaskRequest instance with the state set by the
Builder.
|
abstract UpdateDeliveryTaskRequest.Builder | |
abstract UpdateDeliveryTaskRequest.Builder |
setTaskOutcome(int outcome)
Sets the outcome of the closed task.
|
abstract UpdateDeliveryTaskRequest.Builder |
setTaskOutcomeTimestamp(long timestamp)
Sets the timestamp in milliseconds for when the task outcome was set.
|
Inherited Method Summary
Public Methods
public UpdateDeliveryTaskRequest build ()
Returns new UpdateDeliveryTaskRequest instance with the state set by the Builder.
Throws
NullPointerException | if any non-nullable values are not set. |
---|
public abstract UpdateDeliveryTaskRequest.Builder setTaskId (String taskId)
Sets the unique identifier for this task for this provider.
public abstract UpdateDeliveryTaskRequest.Builder setTaskOutcome (int outcome)
Sets the outcome of the closed task.
public abstract UpdateDeliveryTaskRequest.Builder setTaskOutcomeTimestamp (long timestamp)
Sets the timestamp in milliseconds for when the task outcome was set.