Uses of Class
com.azure.cosmos.models.CosmosRequestOptions
Packages that use CosmosRequestOptions
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosRequestOptions in com.azure.cosmos.models
Methods in com.azure.cosmos.models that return CosmosRequestOptionsModifier and TypeMethodDescriptionCosmosRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel) Sets the consistency level.CosmosRequestOptions.setContentResponseOnWriteEnabled(Boolean contentResponseOnWriteEnabled) Sets the content response on write enabled.CosmosRequestOptions.setCosmosEndToEndLatencyPolicyConfig(CosmosEndToEndOperationLatencyPolicyConfig endToEndOperationLatencyPolicyConfig) Sets the CosmosEndToEndLatencyPolicyConfig.CosmosRequestOptions.setDedicatedGatewayRequestOptions(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions) Sets the DedicatedGatewayRequestOptions.CosmosRequestOptions.setDiagnosticsThresholds(CosmosDiagnosticsThresholds thresholds) Sets the CosmosDiagnosticsThresholds.CosmosRequestOptions.setExcludeRegions(List<String> excludeRegions) Sets the exclude regions.CosmosRequestOptions.setIndexMetricsEnabled(Boolean indexMetricsEnabled) Sets the IndexMetricsEnabled.CosmosRequestOptions.setKeywordIdentifiers(Set<String> keywordIdentifiers) Sets the keywordIdentifiers.CosmosRequestOptions.setMaxBufferedItemCount(Integer maxBufferedItemCount) Sets the MaxBufferedItemCount.CosmosRequestOptions.setMaxDegreeOfParallelism(Integer maxDegreeOfParallelism) Sets the MaxDegreeOfParallelism.CosmosRequestOptions.setMaxItemCount(Integer maxItemCount) Sets the MaxItemCount.CosmosRequestOptions.setMaxPrefetchPageCount(Integer maxPrefetchPageCount) Sets the MaxPrefetchPageCount.CosmosRequestOptions.setNonIdempotentWriteRetriesEnabled(Boolean nonIdempotentWriteRetriesEnabled) Sets the NonIdempotentWriteRetriesEnabled.CosmosRequestOptions.setQueryMetricsEnabled(Boolean queryMetricsEnabled) Sets the QueryMetricsEnabled.CosmosRequestOptions.setQueryName(String queryName) Sets the QueryName.CosmosRequestOptions.setReadConsistencyStrategy(ReadConsistencyStrategy readConsistencyStrategy) Sets the read consistency strategy.CosmosRequestOptions.setResponseContinuationTokenLimitInKb(Integer responseContinuationTokenLimitInKb) Sets the ResponseContinuationTokenLimitInKb.CosmosRequestOptions.setScanInQueryEnabled(Boolean scanInQueryEnabled) Sets the ScanInQueryEnabled.CosmosRequestOptions.setThroughputControlGroupName(String throughputControlGroupName) Sets the throughput control group name.Methods in com.azure.cosmos.models with parameters of type CosmosRequestOptionsModifier and TypeMethodDescriptionvoidCosmosOperationDetails.setRequestOptions(CosmosRequestOptions cosmosRequestOptions) Applies the options in CosmosRequestOptions to the internal request options.