public final class MissingImagesTaskStatusImpl extends Object implements MissingImagesTaskStatus
Represents a URL path to poll to get the results of an Asynchronous Request.
| Constructor and Description |
|---|
MissingImagesTaskStatusImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ZonedDateTime |
getExpires()
The expiry date of the result.
|
MissingImagesPagedQueryResult |
getResult()
The response to an asynchronous request.
|
TaskStatusEnum |
getState() |
int |
hashCode() |
void |
setExpires(ZonedDateTime expires) |
void |
setResult(MissingImagesPagedQueryResult result) |
void |
setState(TaskStatusEnum state) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, withMissingImagesTaskStatuspublic TaskStatusEnum getState()
getState in interface MissingImagesTaskStatuspublic ZonedDateTime getExpires()
The expiry date of the result. You cannot access the result after the expiry date. Default: 1 day after the result first becomes available. This is only available when the TaskStatus state is SUCCESS.
getExpires in interface MissingImagesTaskStatuspublic MissingImagesPagedQueryResult getResult()
The response to an asynchronous request. The type depends on the request initiated. Only populated when the status is SUCCESS.
getResult in interface MissingImagesTaskStatuspublic void setState(TaskStatusEnum state)
setState in interface MissingImagesTaskStatuspublic void setExpires(ZonedDateTime expires)
setExpires in interface MissingImagesTaskStatuspublic void setResult(MissingImagesPagedQueryResult result)
setResult in interface MissingImagesTaskStatus