Package co.cloudcraft
Class Cloudcraft
java.lang.Object
co.cloudcraft.Cloudcraft
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes client configuration from environment variables if present, else fallback to default values.Cloudcraft(String apiKey) Initializes with the given APIKey and initializes client configuration from environment variables if present, else fallback to default values.Cloudcraft(String apiKey, ClientConfig clientConfigOverrides) Initializes API key and client configuration with the given overrides. -
Method Summary
Modifier and TypeMethodDescriptionKey used to access cloudcraft APIsClient configuration
-
Constructor Details
-
Cloudcraft
Initializes client configuration from environment variables if present, else fallback to default values.- Throws:
CloudcraftException- if API Key is not configured.
-
Cloudcraft
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
Initializes API key and client configuration with the given overrides.- Throws:
CloudcraftException- if API Key is not configured.
-
-
Method Details
-
getClientConfig
Client configuration -
getApiKey
Key used to access cloudcraft APIs -
getUserApi
-
getAwsAccountApi
-
getBlueprintApi
-
getBudgetApi
-