public class TaskAddResult extends Object
Constructor and Description |
---|
TaskAddResult() |
Modifier and Type | Method and Description |
---|---|
BatchError |
error()
Get the error value.
|
String |
eTag()
Get the eTag value.
|
org.joda.time.DateTime |
lastModified()
Get the lastModified value.
|
String |
location()
Get the location value.
|
TaskAddStatus |
status()
Get the status value.
|
String |
taskId()
Get the taskId value.
|
TaskAddResult |
withError(BatchError error)
Set the error value.
|
TaskAddResult |
withETag(String eTag)
Set the eTag value.
|
TaskAddResult |
withLastModified(org.joda.time.DateTime lastModified)
Set the lastModified value.
|
TaskAddResult |
withLocation(String location)
Set the location value.
|
TaskAddResult |
withStatus(TaskAddStatus status)
Set the status value.
|
TaskAddResult |
withTaskId(String taskId)
Set the taskId value.
|
public TaskAddStatus status()
public TaskAddResult withStatus(TaskAddStatus status)
status
- the status value to setpublic String taskId()
public TaskAddResult withTaskId(String taskId)
taskId
- the taskId value to setpublic String eTag()
public TaskAddResult withETag(String eTag)
eTag
- the eTag value to setpublic org.joda.time.DateTime lastModified()
public TaskAddResult withLastModified(org.joda.time.DateTime lastModified)
lastModified
- the lastModified value to setpublic String location()
public TaskAddResult withLocation(String location)
location
- the location value to setpublic BatchError error()
public TaskAddResult withError(BatchError error)
error
- the error value to setCopyright © 2019. All rights reserved.