Package ai.runapi.imagen4
Class Imagen4Client.Builder
java.lang.Object
ai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
ai.runapi.imagen4.Imagen4Client.Builder
- Enclosing class:
Imagen4Client
public static final class Imagen4Client.Builder
extends ai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
Builder for
Imagen4Client.-
Field Summary
Fields inherited from class ai.runapi.core.BaseClient.Builder
options -
Method Summary
Methods inherited from class ai.runapi.core.BaseClient.Builder
header, headers, maxRetries, pollingInterval, pollingMaxWait, retryBaseDelay, retryMaxDelay, self, timeout
-
Method Details
-
apiKey
Sets the API key. If omitted, the SDK readsRUNAPI_API_KEY.- Overrides:
apiKeyin classai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
-
baseUrl
Sets the RunAPI base URL. If omitted, the SDK readsRUNAPI_BASE_URL.- Overrides:
baseUrlin classai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
-
baseUrl
Sets the RunAPI base URL from a URI.- Overrides:
baseUrlin classai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
-
transport
Sets a custom HTTP transport. User-provided transports are not closed by SDK clients.- Overrides:
transportin classai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
-
build
Builds an immutable Imagen4Client.- Overrides:
buildin classai.runapi.core.BaseClient.Builder<Imagen4Client.Builder>
-