CosmosOperationDetails Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosOperationDetails
- com.
public final class CosmosOperationDetails
Encapsulates the details of an operation and allows for overriding some properties in the internal request options.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Cosmos |
getDiagnosticsContext()
Gets the diagnostics context associated with an operation. |
|
Cosmos |
getRequestContext()
Gets the request context associated with an operation. |
| void |
setRequestOptions(CosmosRequestOptions cosmosRequestOptions)
Applies the options in Cosmos |
Methods inherited from java.lang.Object
Method Details
getDiagnosticsContext
public CosmosDiagnosticsContext getDiagnosticsContext()
Gets the diagnostics context associated with an operation.
Returns:
getRequestContext
public CosmosRequestContext getRequestContext()
Gets the request context associated with an operation.
Returns:
setRequestOptions
public void setRequestOptions(CosmosRequestOptions cosmosRequestOptions)
Applies the options in CosmosRequestOptions to the internal request options.
Parameters: