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, observers, token -
Constructor Summary
ConstructorsConstructorDescriptionTenantLimitsClient(String token, 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
Modifier and TypeMethodDescriptionEndpoint to access dbs.Provide a service Name.limits()List limits for a tenants.Methods inherited from class com.dtsx.astra.sdk.AbstractApiClient
assertHttpCodeAccepted, DELETE, GET, getHttpClient, getOperationName, HEAD, PATCH, POST, POST, PUT
-
Constructor Details
-
TenantLimitsClient
As immutable object use builder to initiate the object.- Parameters:
token- authenticated tokentenantId- unique tenant identifier
-
TenantLimitsClient
As immutable object use builder to initiate the object.- Parameters:
token- authenticated tokenenv- define target environment to be usedtenantId- unique tenant identifier
-
-
Method Details
-
getServiceName
Provide a service Name.- Specified by:
getServiceNamein classAbstractApiClient- Returns:
- service name
-
limits
List limits for a tenants.- Returns:
- the list of limits
-
getEndpointTenantLimits
Endpoint to access dbs.- Returns:
- database endpoint
-