Class PromptRegistryOrchestrationConfig
java.lang.Object
com.sap.ai.sdk.prompt.registry.model.PromptRegistryOrchestrationConfig
PromptRegistryOrchestrationConfig
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for PromptRegistryOrchestrationConfig. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a newPromptRegistryOrchestrationConfiginstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of thePromptRegistryOrchestrationConfig.Get modulesGet streaminthashCode()Set the modules of thisPromptRegistryOrchestrationConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisPromptRegistryOrchestrationConfiginstance.voidSet the modules of thisPromptRegistryOrchestrationConfiginstance.voidsetStream(GlobalStreamOptions stream) Set the stream of thisPromptRegistryOrchestrationConfiginstance.stream(GlobalStreamOptions stream) Set the stream of thisPromptRegistryOrchestrationConfiginstance and return the same instance.toMap()Get the value of all properties of thisPromptRegistryOrchestrationConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
PromptRegistryOrchestrationConfig
protected PromptRegistryOrchestrationConfig()Default constructor for PromptRegistryOrchestrationConfig.
-
-
Method Details
-
modules
@Nonnull public PromptRegistryOrchestrationConfig modules(@Nullable PromptRegistryOrchestrationConfigModules modules) Set the modules of thisPromptRegistryOrchestrationConfiginstance and return the same instance.- Parameters:
modules- The modules of thisPromptRegistryOrchestrationConfig- Returns:
- The same instance of this
PromptRegistryOrchestrationConfigclass
-
getModules
Get modules- Returns:
- modules The modules of this
PromptRegistryOrchestrationConfiginstance.
-
setModules
Set the modules of thisPromptRegistryOrchestrationConfiginstance.- Parameters:
modules- The modules of thisPromptRegistryOrchestrationConfig
-
stream
Set the stream of thisPromptRegistryOrchestrationConfiginstance and return the same instance.- Parameters:
stream- The stream of thisPromptRegistryOrchestrationConfig- Returns:
- The same instance of this
PromptRegistryOrchestrationConfigclass
-
getStream
Get stream- Returns:
- stream The stream of this
PromptRegistryOrchestrationConfiginstance.
-
setStream
Set the stream of thisPromptRegistryOrchestrationConfiginstance.- Parameters:
stream- The stream of thisPromptRegistryOrchestrationConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of thePromptRegistryOrchestrationConfig.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisPromptRegistryOrchestrationConfiginstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisPromptRegistryOrchestrationConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisPromptRegistryOrchestrationConfiginstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a newPromptRegistryOrchestrationConfiginstance. No arguments are required.
-
toMap()instead.