Package com.azure.data.cosmos.sync
Class CosmosSyncDatabaseResponse
- java.lang.Object
-
- com.azure.data.cosmos.sync.CosmosSyncResponse
-
- com.azure.data.cosmos.sync.CosmosSyncDatabaseResponse
-
public class CosmosSyncDatabaseResponse extends CosmosSyncResponse
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CosmosSyncDatabase
database()
Gets the CosmosDatabase objectlong
databaseQuota()
Gets the Max Quota.long
databaseUsage()
Gets the current Usage.CosmosDatabaseProperties
properties()
Gets the cosmos database properties-
Methods inherited from class com.azure.data.cosmos.sync.CosmosSyncResponse
activityId, cosmosResponseDiagnosticsString, currentResourceQuotaUsage, maxResourceQuota, requestCharge, requestLatency, responseHeaders, sessionToken, statusCode
-
-
-
-
Method Detail
-
database
public CosmosSyncDatabase database()
Gets the CosmosDatabase object- Returns:
CosmosSyncDatabase
-
properties
public CosmosDatabaseProperties properties()
Gets the cosmos database properties- Returns:
- the cosmos database properties
-
databaseQuota
public long databaseQuota()
Gets the Max Quota.- Returns:
- the database quota.
-
databaseUsage
public long databaseUsage()
Gets the current Usage.- Returns:
- the current database usage.
-
-