Class DefaultRetrieveConnectionModelRetVal.Builder<ConnectionConfig>
java.lang.Object
de.xima.fc.prompt.service.defaults.DefaultRetrieveConnectionModelRetVal.Builder<ConnectionConfig>
- Type Parameters:
ConnectionConfig- Type of the configuration object that is used to store the connection's properties.
- All Implemented Interfaces:
IRetrieveConnectionModelRetVal<ConnectionConfig>
- Enclosing class:
DefaultRetrieveConnectionModelRetVal
public static final class DefaultRetrieveConnectionModelRetVal.Builder<ConnectionConfig>
extends Object
implements IRetrieveConnectionModelRetVal<ConnectionConfig>
A builder for
DefaultRetrieveConnectionModelRetVal.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new retrieve connection model parameters instance with the current configuration.The model to use, or null to use the current model.connectionConfig(C connectionConfig) Sets the connection configuration.
-
Method Details
-
build
Creates a new retrieve connection model parameters instance with the current configuration.- Returns:
- A new retrieve connection model parameters instance.
-
connectionConfig
Description copied from interface:IRetrieveConnectionModelRetValThe model to use, or null to use the current model. You can either mutate the current model in-place or create a new instance.- Specified by:
connectionConfigin interfaceIRetrieveConnectionModelRetVal<ConnectionConfig>- Returns:
- The model to use, or null to use the current model.
-
connectionConfig
Sets the connection configuration.- Parameters:
connectionConfig- The connection configuration.- Returns:
- The builder instance for chaining method calls.
-