Package com.dtsx.astra.sdk.streaming
Class ProvidersClient
java.lang.Object
com.dtsx.astra.sdk.AbstractApiClient
com.dtsx.astra.sdk.streaming.ProvidersClient
Work with providers.
-
Field Summary
Fields inherited from class com.dtsx.astra.sdk.AbstractApiClient
environment, observers, token -
Constructor Summary
ConstructorsConstructorDescriptionProvidersClient(String token) As immutable object use builder to initiate the object.ProvidersClient(String token, AstraEnvironment env) As immutable object use builder to initiate the object. -
Method Summary
Modifier and TypeMethodDescriptionfindAll()Operations on providers.Endpoint to access schema for namespace.Provide a service Name.Methods inherited from class com.dtsx.astra.sdk.AbstractApiClient
assertHttpCodeAccepted, DELETE, GET, getHttpClient, getOperationName, HEAD, PATCH, POST, POST, PUT
-
Constructor Details
-
ProvidersClient
As immutable object use builder to initiate the object.- Parameters:
token- authenticated token
-
ProvidersClient
As immutable object use builder to initiate the object.- Parameters:
token- authenticated tokenenv- define target environment to be used
-
-
Method Details
-
getServiceName
Provide a service Name.- Specified by:
getServiceNamein classAbstractApiClient- Returns:
- service name
-
findAll
Operations on providers.- Returns:
- list of cloud providers and regions
-
getApiDevopsEndpointProviders
Endpoint to access schema for namespace.- Returns:
- endpoint
-