Package com.dtsx.astra.sdk.streaming
Class TenantClient
java.lang.Object
com.dtsx.astra.sdk.AbstractApiClient
com.dtsx.astra.sdk.streaming.TenantClient
- Author:
- Cedrick LUNVEN (@clunven)
-
Field Summary
Fields inherited from class com.dtsx.astra.sdk.AbstractApiClient
environment, token
-
Constructor Summary
ConstructorDescriptionTenantClient
(String token, ApiLocator.AstraEnvironment env, String tenantId) As immutable object use builder to initiate the object.TenantClient
(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
-
TenantClient
As immutable object use builder to initiate the object.- Parameters:
tenantId
- unique tenant identifiertoken
- authenticated token
-
TenantClient
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
Access Limits of a tenant- Returns:
- cdc component
-
cdc
Access CDC Client.- Returns:
- cdc component
-
stats
Access Stats Client.- Returns:
- cdc component
-
getEndpointTenant
Endpoint to access dbs.- Returns:
- database endpoint
-