Package com.azure.cosmos.models
Class ThroughputResponse
- java.lang.Object
-
- com.azure.cosmos.models.CosmosResponse<ThroughputProperties>
-
- com.azure.cosmos.models.ThroughputResponse
-
public class ThroughputResponse extends CosmosResponse<ThroughputProperties>
The cosmos throughput response.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMinThroughput()
Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.ThroughputProperties
getProperties()
Gets properties.boolean
isReplacePending()
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 Detail
-
getProperties
public ThroughputProperties 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
-
-