Class Client

java.lang.Object
com.exoscale.sdk.api.ExoscaleApi
com.exoscale.sdk.client.Client

public class Client extends ExoscaleApi
High-level wrapper for interacting with Exoscale API. Takes care of the setup ad configuration of the underlying ApiClient
  • Constructor Details

    • Client

      public Client(Credentials credentials)
      Parameters:
      credentials - The credentials used to authenticate with the Exoscale API.
  • Method Details

    • wait

      public Operation wait(Operation operation)
      Waits for a given operation to complete.
      Parameters:
      operation - The operation to wait for.
      Returns:
      The updated operation after reaching a terminal state.
      Throws:
      RuntimeException - If there is an error during the polling process