public abstract static class Task.Builder<B extends Task.Builder<B>> extends Entity.Builder<B>
Constructor and Description |
---|
Task.Builder() |
Modifier and Type | Method and Description |
---|---|
Task |
build() |
B |
endTime(Date endTime) |
B |
error(Error error) |
B |
expiryTime(Date expiryTime) |
B |
fromTask(Task in) |
B |
operation(String operation) |
B |
operationName(String operationName) |
B |
org(Reference org) |
B |
owner(Reference owner) |
B |
params(Object params) |
B |
progress(Integer progress) |
B |
startTime(Date startTime) |
B |
status(String status) |
B |
status(Task.Status status) |
B |
user(Reference user) |
description, fromEntityType, id, name, task, tasks
fromResource, href, link, links, self, type
public B error(Error error)
Task.getError()
public B org(Reference org)
Task.get()
public B owner(Reference owner)
Task.getOwner()
public B user(Reference user)
Task.getUser()
public B params(Object params)
Task.getParams()
public B progress(Integer progress)
Task.getProgress()
public B status(String status)
Task.getStatus()
public B status(Task.Status status)
Task.getStatus()
public B operation(String operation)
Task.getOperation()
public B operationName(String operationName)
Task.getOperationName()
public B startTime(Date startTime)
Task.getStartTime()
public B endTime(Date endTime)
Task.getEndTime()
public B expiryTime(Date expiryTime)
Task.getExpiryTime()
public Task build()
build
in class Entity.Builder<B extends Task.Builder<B>>
Copyright © 2009-2013 jclouds. All Rights Reserved.