azure-docs-sdk-java/docs-ref-autogen/com.azure.core.util.polling...

83 строки
6.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.util.polling.PollOperationDetails"
fullName: "com.azure.core.util.polling.PollOperationDetails"
name: "PollOperationDetails"
nameWithType: "PollOperationDetails"
summary: "Poll<wbr>Operation<wbr>Details provides details for long running operations."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **PollOperationDetails**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.core.util.polling.PollOperationDetails?alt=com.azure.core.util.polling.PollOperationDetails&text=PollOperationDetails\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.core.util.polling.PollOperationDetails.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.core.util.polling.PollOperationDetails.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "PollOperationDetails.fromJson(JsonReader jsonReader)"
summary: "Reads a JSON stream into a <xref uid=\"com.azure.core.util.polling.PollOperationDetails\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollOperationDetails\"></xref>."
modifiers:
- "static"
parameters:
- description: "The <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PollOperationDetails fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads a JSON stream into a <xref uid=\"com.azure.core.util.polling.PollOperationDetails\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollOperationDetails\"></xref>."
returns:
description: "The <xref uid=\"com.azure.core.util.polling.PollOperationDetails\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PollOperationDetails\"></xref> that the JSON stream represented, or null if it pointed to JSON null."
type: "<xref href=\"com.azure.core.util.polling.PollOperationDetails?alt=com.azure.core.util.polling.PollOperationDetails&text=PollOperationDetails\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.util.polling.PollOperationDetails.getError()"
fullName: "com.azure.core.util.polling.PollOperationDetails.getError()"
name: "getError()"
nameWithType: "PollOperationDetails.getError()"
summary: "Gets the error object that describes the error when status is \"Failed\"."
syntax: "public ResponseError getError()"
desc: "Gets the error object that describes the error when status is \"Failed\"."
returns:
description: "the error object that describes the error when status is \"Failed\"."
type: "<xref href=\"com.azure.core.models.ResponseError?alt=com.azure.core.models.ResponseError&text=ResponseError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.util.polling.PollOperationDetails.getOperationId()"
fullName: "com.azure.core.util.polling.PollOperationDetails.getOperationId()"
name: "getOperationId()"
nameWithType: "PollOperationDetails.getOperationId()"
summary: "Gets the unique ID of the operation."
syntax: "public String getOperationId()"
desc: "Gets the unique ID of the operation."
returns:
description: "the unique ID of the operation."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.util.polling.PollOperationDetails.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.core.util.polling.PollOperationDetails.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "PollOperationDetails.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "PollOperationDetails provides details for long running operations."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.core.util.polling.PollOperationDetails?alt=com.azure.core.util.polling.PollOperationDetails&text=PollOperationDetails\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.core.util.polling"
artifact: com.azure:azure-core:1.52.0