Modifier and Type | Field and Description |
---|---|
protected String |
accountId |
protected String |
cmd |
protected Date |
created |
protected AsyncJobError |
error |
protected String |
id |
protected String |
instanceId |
protected String |
instanceType |
protected int |
progress |
protected S |
result |
protected AsyncJob.ResultCode |
resultCode |
protected String |
resultType |
protected AsyncJob.Status |
status |
protected String |
userId |
Constructor and Description |
---|
AsyncJob.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accountId(String accountId) |
AsyncJob |
build() |
T |
cmd(String cmd) |
T |
created(Date created) |
T |
error(AsyncJobError error) |
T |
fromAsyncJob(AsyncJob<S> in) |
static AsyncJob.Builder<?,Object> |
fromAsyncJobUntyped(AsyncJob<?> in) |
T |
id(String id) |
T |
instanceId(String instanceId) |
T |
instanceType(String instanceType) |
T |
progress(int progress) |
T |
result(S result) |
T |
resultCode(AsyncJob.ResultCode resultCode) |
T |
resultType(String resultType) |
protected abstract T |
self() |
T |
status(AsyncJob.Status status) |
T |
userId(String userId) |
protected String accountId
protected String cmd
protected Date created
protected String id
protected String instanceId
protected String instanceType
protected int progress
protected S result
protected AsyncJob.ResultCode resultCode
protected String resultType
protected AsyncJob.Status status
protected String userId
protected AsyncJobError error
protected abstract T self()
public T accountId(String accountId)
AsyncJob.getAccountId()
public T cmd(String cmd)
AsyncJob.getCmd()
public T created(Date created)
AsyncJob.getCreated()
public T id(String id)
AsyncJob.getId()
public T instanceId(String instanceId)
AsyncJob.getInstanceId()
public T instanceType(String instanceType)
AsyncJob.getInstanceType()
public T progress(int progress)
AsyncJob.getProgress()
public T result(S result)
AsyncJob.getResult()
public T resultCode(AsyncJob.ResultCode resultCode)
AsyncJob.getResultCode()
public T resultType(String resultType)
AsyncJob.getResultType()
public T status(AsyncJob.Status status)
AsyncJob.getStatus()
public T userId(String userId)
AsyncJob.getUserId()
public T error(AsyncJobError error)
AsyncJob.getError()
public AsyncJob build()
public static AsyncJob.Builder<?,Object> fromAsyncJobUntyped(AsyncJob<?> in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.