Class ApicurioDescriptorLoader.Builder
java.lang.Object
ai.pipestream.common.util.descriptor.ApicurioDescriptorLoader.Builder
- Enclosing class:
ApicurioDescriptorLoader
Builder for ApicurioDescriptorLoader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactId(String artifactId) Sets a specific artifact ID to load.authentication(String apiKey) Sets the API key for authentication.build()Builds the ApicurioDescriptorLoader.enableCaching(boolean enableCaching) Enables or disables local caching of schemas.Sets the schema group ID.registryUrl(String registryUrl) Sets the Apicurio registry URL.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
registryUrl
Sets the Apicurio registry URL.- Parameters:
registryUrl- The registry URL- Returns:
- This builder
-
groupId
Sets the schema group ID.- Parameters:
groupId- The group ID- Returns:
- This builder
-
artifactId
Sets a specific artifact ID to load.- Parameters:
artifactId- The artifact ID- Returns:
- This builder
-
authentication
Sets the API key for authentication.- Parameters:
apiKey- The API key- Returns:
- This builder
-
enableCaching
Enables or disables local caching of schemas.- Parameters:
enableCaching- Whether to enable caching- Returns:
- This builder
-
build
Builds the ApicurioDescriptorLoader.- Returns:
- The loader instance
-