Interface AsynchronouslyCreatedResource<T>
-
- Type Parameters:
T
- The type of the resource.
- All Superinterfaces:
ResponseBody
- All Known Implementing Classes:
AsynchronousOperationResult
,JobExecutionResultResponseBody
public interface AsynchronouslyCreatedResource<T> extends ResponseBody
Interface for REST resources that are created asynchronously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueueStatus
queueStatus()
Returns the status of the resource creation.T
resource()
Returns the resource if it is available,null
otherwise.
-
-
-
Method Detail
-
queueStatus
QueueStatus queueStatus()
Returns the status of the resource creation.
-
resource
@Nullable T resource()
Returns the resource if it is available,null
otherwise.
-
-