org.jclouds.savvis.vpdc.domain
Class Task.Builder
java.lang.Object
org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
org.jclouds.savvis.vpdc.domain.Task.Builder
- Enclosing class:
- Task
public static class Task.Builder
- extends ResourceImpl.Builder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Task.Builder
public Task.Builder()
status
public Task.Builder status(Task.Status status)
startTime
public Task.Builder startTime(Date startTime)
endTime
public Task.Builder endTime(Date endTime)
owner
public Task.Builder owner(Resource owner)
result
public Task.Builder result(Resource result)
error
public Task.Builder error(TaskError error)
id
public Task.Builder id(String id)
- Overrides:
id
in class ResourceImpl.Builder
name
public Task.Builder name(String name)
- Overrides:
name
in class ResourceImpl.Builder
type
public Task.Builder type(String type)
- Overrides:
type
in class ResourceImpl.Builder
href
public Task.Builder href(URI href)
- Overrides:
href
in class ResourceImpl.Builder
build
public Task build()
- Overrides:
build
in class ResourceImpl.Builder
fromTask
public static Task.Builder fromTask(Task in)
Copyright © 2009-2011 jclouds. All Rights Reserved.