Class RegionsClient

java.lang.Object
com.dtsx.astra.sdk.AbstractApiClient
com.dtsx.astra.sdk.streaming.RegionsClient

public class RegionsClient extends AbstractApiClient
Group operation on streaming regions
  • Constructor Details

    • RegionsClient

      public RegionsClient(String token)
      As immutable object use builder to initiate the object.
      Parameters:
      token - authenticated token
    • RegionsClient

      public RegionsClient(String token, ApiLocator.AstraEnvironment env)
      As immutable object use builder to initiate the object.
      Parameters:
      env - define target environment to be used
      token - authenticated token
  • Method Details

    • findAllServerless

      public Stream<StreamingRegion> findAllServerless()
      Get available serverless for Streaming.
      Returns:
      serverless regions
    • getApiDevopsEndpointRegionsServerless

      public String getApiDevopsEndpointRegionsServerless()
      Endpoint to access schema for namespace.
      Returns:
      endpoint