public static class Task.Builder extends ResourceImpl.Builder
href, id, name, type
Constructor and Description |
---|
Task.Builder() |
Modifier and Type | Method and Description |
---|---|
Task |
build() |
Task.Builder |
endTime(Date endTime) |
Task.Builder |
error(TaskError error) |
static Task.Builder |
fromTask(Task in) |
Task.Builder |
href(URI href) |
Task.Builder |
id(String id) |
Task.Builder |
name(String name) |
Task.Builder |
owner(Resource owner) |
Task.Builder |
result(Resource result) |
Task.Builder |
startTime(Date startTime) |
Task.Builder |
status(Task.Status status) |
Task.Builder |
type(String type) |
fromResource
public Task.Builder status(Task.Status status)
public Task.Builder startTime(Date startTime)
public Task.Builder endTime(Date endTime)
public Task.Builder owner(Resource owner)
public Task.Builder result(Resource result)
public Task.Builder error(TaskError error)
public Task.Builder id(String id)
id
in class ResourceImpl.Builder
public Task.Builder name(String name)
name
in class ResourceImpl.Builder
public Task.Builder type(String type)
type
in class ResourceImpl.Builder
public Task.Builder href(URI href)
href
in class ResourceImpl.Builder
public Task build()
build
in class ResourceImpl.Builder
public static Task.Builder fromTask(Task in)
Copyright © 2009-2012 jclouds. All Rights Reserved.