Package com.dtsx.astra.sdk.streaming
Class TenantLimitsClient
java.lang.Object
com.dtsx.astra.sdk.AbstractApiClient
com.dtsx.astra.sdk.streaming.TenantLimitsClient
Client to operates on limits of one cluster.
-
Field Summary
Fields inherited from class com.dtsx.astra.sdk.AbstractApiClient
environment, token -
Constructor Summary
ConstructorsConstructorDescriptionTenantLimitsClient(String token, ApiLocator.AstraEnvironment env, String tenantId) As immutable object use builder to initiate the object.TenantLimitsClient(String token, String tenantId) As immutable object use builder to initiate the object. -
Method Summary
Methods inherited from class com.dtsx.astra.sdk.AbstractApiClient
assertHttpCodeAccepted, DELETE, GET, getHttpClient, getToken, HEAD, PATCH, POST, POST, PUT
-
Constructor Details
-
TenantLimitsClient
As immutable object use builder to initiate the object.- Parameters:
tenantId- unique tenant identifiertoken- authenticated token
-
TenantLimitsClient
As immutable object use builder to initiate the object.- Parameters:
env- define target environment to be usedtoken- authenticated tokentenantId- unique tenant identifier
-
-
Method Details
-
limits
List limits for a tenants.- Returns:
- the list of limits
-
getEndpointTenantLimits
Endpoint to access dbs.- Returns:
- database endpoint
-