azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.models.Cos...

61 строка
4.3 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.cosmos.models.CosmosOperationDetails"
fullName: "com.azure.cosmos.models.CosmosOperationDetails"
name: "CosmosOperationDetails"
nameWithType: "CosmosOperationDetails"
summary: "Encapsulates the details of an operation and allows for overriding some properties in the internal request options."
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 **CosmosOperationDetails**"
methods:
- uid: "com.azure.cosmos.models.CosmosOperationDetails.getDiagnosticsContext()"
fullName: "com.azure.cosmos.models.CosmosOperationDetails.getDiagnosticsContext()"
name: "getDiagnosticsContext()"
nameWithType: "CosmosOperationDetails.getDiagnosticsContext()"
summary: "Gets the diagnostics context associated with an operation."
syntax: "public CosmosDiagnosticsContext getDiagnosticsContext()"
desc: "Gets the diagnostics context associated with an operation."
returns:
description: "the diagnostics context."
type: "<xref href=\"com.azure.cosmos.CosmosDiagnosticsContext?alt=com.azure.cosmos.CosmosDiagnosticsContext&text=CosmosDiagnosticsContext\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosOperationDetails.getRequestContext()"
fullName: "com.azure.cosmos.models.CosmosOperationDetails.getRequestContext()"
name: "getRequestContext()"
nameWithType: "CosmosOperationDetails.getRequestContext()"
summary: "Gets the request context associated with an operation."
syntax: "public CosmosRequestContext getRequestContext()"
desc: "Gets the request context associated with an operation."
returns:
description: "the request context."
type: "<xref href=\"com.azure.cosmos.CosmosRequestContext?alt=com.azure.cosmos.CosmosRequestContext&text=CosmosRequestContext\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.models.CosmosOperationDetails.setRequestOptions(com.azure.cosmos.models.CosmosRequestOptions)"
fullName: "com.azure.cosmos.models.CosmosOperationDetails.setRequestOptions(CosmosRequestOptions cosmosRequestOptions)"
name: "setRequestOptions(CosmosRequestOptions cosmosRequestOptions)"
nameWithType: "CosmosOperationDetails.setRequestOptions(CosmosRequestOptions cosmosRequestOptions)"
summary: "Applies the options in Cosmos<wbr>Request<wbr>Options to the internal request options."
parameters:
- description: "the common request options for overriding."
name: "cosmosRequestOptions"
type: "<xref href=\"com.azure.cosmos.models.CosmosRequestOptions?alt=com.azure.cosmos.models.CosmosRequestOptions&text=CosmosRequestOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public void setRequestOptions(CosmosRequestOptions cosmosRequestOptions)"
desc: "Applies the options in CosmosRequestOptions to the internal request options."
type: "class"
desc: "Encapsulates the details of an operation and allows for overriding some properties in the internal request options."
metadata: {}
package: "com.azure.cosmos.models"
artifact: com.azure:azure-cosmos:4.63.3