Package co.cloudcraft

Class Cloudcraft

java.lang.Object
co.cloudcraft.Cloudcraft

public class Cloudcraft extends Object
  • Constructor Details

    • Cloudcraft

      public Cloudcraft() throws CloudcraftException
      Initializes client configuration from environment variables if present, else fallback to default values.
      Throws:
      CloudcraftException - if API Key is not configured.
    • Cloudcraft

      public Cloudcraft(String apiKey) throws CloudcraftException
      Initializes with the given APIKey and initializes client configuration from environment variables if present, else fallback to default values.
      Throws:
      CloudcraftException - if API Key is not configured.
    • Cloudcraft

      public Cloudcraft(String apiKey, ClientConfig clientConfigOverrides) throws CloudcraftException
      Initializes API key and client configuration with the given overrides.
      Throws:
      CloudcraftException - if API Key is not configured.
  • Method Details

    • getClientConfig

      public ClientConfig getClientConfig()
      Client configuration
    • getApiKey

      public String getApiKey()
      Key used to access cloudcraft APIs
    • getUserApi

      public UserApi getUserApi()
    • getAwsAccountApi

      public AwsAccountApi getAwsAccountApi()
    • getBlueprintApi

      public BlueprintApi getBlueprintApi()
    • getBudgetApi

      public BudgetApi getBudgetApi()