PollOperationDetails Class
- java.
lang. Object - com.
azure. core. util. polling. PollOperationDetails
- com.
Implements
public final class PollOperationDetails
implements JsonSerializable<PollOperationDetails>
PollOperationDetails provides details for long running operations.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Poll |
fromJson(JsonReader jsonReader)
Reads a JSON stream into a PollOperationDetails. |
Response |
getError()
Gets the error object that describes the error when status is "Failed". |
String |
getOperationId()
Gets the unique ID of the operation. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PollOperationDetails fromJson(JsonReader jsonReader)
Reads a JSON stream into a PollOperationDetails.
Parameters:
Returns:
Throws:
getError
public ResponseError getError()
Gets the error object that describes the error when status is "Failed".
Returns:
getOperationId
public String getOperationId()
Gets the unique ID of the operation.
Returns:
toJson
Applies to
Azure SDK for Java