Package com.azure.cosmos.models
Class CosmosOperationDetails
java.lang.Object
com.azure.cosmos.models.CosmosOperationDetails
Encapsulates the details of an operation and allows for overriding some properties in the internal request options.
-
Method Summary
Modifier and TypeMethodDescriptionGets the diagnostics context associated with an operation.Gets the request context associated with an operation.void
setRequestOptions
(CosmosRequestOptions cosmosRequestOptions) Applies the options in CosmosRequestOptions to the internal request options.
-
Method Details
-
setRequestOptions
Applies the options in CosmosRequestOptions to the internal request options.- Parameters:
cosmosRequestOptions
- the common request options for overriding.
-
getRequestContext
Gets the request context associated with an operation.- Returns:
- the request context.
-
getDiagnosticsContext
Gets the diagnostics context associated with an operation.- Returns:
- the diagnostics context.
-