Package com.azure.cosmos.models
Class ThroughputResponse
java.lang.Object
com.azure.cosmos.models.CosmosResponse<ThroughputProperties>
com.azure.cosmos.models.ThroughputResponse
The cosmos throughput response.
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.Gets properties.boolean
Gets the status whether offer replace is successful or pending.Methods inherited from class com.azure.cosmos.models.CosmosResponse
getActivityId, getCurrentResourceQuotaUsage, getDiagnostics, getDuration, getMaxResourceQuota, getRequestCharge, getResponseHeaders, getSessionToken, getStatusCode
-
Method Details
-
getProperties
Description copied from class:CosmosResponse
Gets properties.- Overrides:
getProperties
in classCosmosResponse<ThroughputProperties>
- Returns:
- the properties
-
getMinThroughput
public int getMinThroughput()Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.- Returns:
- the minimun throughput
-
isReplacePending
public boolean isReplacePending()Gets the status whether offer replace is successful or pending.- Returns:
- the boolean representing the status
-