Class ModuleConfigs
java.lang.Object
com.sap.ai.sdk.orchestration.model.ModuleConfigs
ModuleConfigs
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleConfigs.Buildercreate()Create a type-safe, fluent-api builder object to construct a newModuleConfigsinstance with all required arguments.booleanfiltering(FilteringModuleConfig filtering) Set the filtering of thisModuleConfigsinstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theModuleConfigs.Get filteringGet groundingGet maskingGet promptTemplatingGet translationgrounding(GroundingModuleConfig grounding) Set the grounding of thisModuleConfigsinstance and return the same instance.inthashCode()masking(MaskingModuleConfig masking) Set the masking of thisModuleConfigsinstance and return the same instance.promptTemplating(PromptTemplatingModuleConfig promptTemplating) Set the promptTemplating of thisModuleConfigsinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisModuleConfigsinstance.voidsetFiltering(FilteringModuleConfig filtering) Set the filtering of thisModuleConfigsinstance.voidsetGrounding(GroundingModuleConfig grounding) Set the grounding of thisModuleConfigsinstance.voidsetMasking(MaskingModuleConfig masking) Set the masking of thisModuleConfigsinstance.voidsetPromptTemplating(PromptTemplatingModuleConfig promptTemplating) Set the promptTemplating of thisModuleConfigsinstance.voidsetTranslation(TranslationModuleConfig translation) Set the translation of thisModuleConfigsinstance.toMap()Get the value of all properties of thisModuleConfigsinstance including unrecognized properties.toString()translation(TranslationModuleConfig translation) Set the translation of thisModuleConfigsinstance and return the same instance.
-
Constructor Details
-
ModuleConfigs
protected ModuleConfigs()Default constructor for ModuleConfigs.
-
-
Method Details
-
promptTemplating
@Nonnull public ModuleConfigs promptTemplating(@Nonnull PromptTemplatingModuleConfig promptTemplating) Set the promptTemplating of thisModuleConfigsinstance and return the same instance.- Parameters:
promptTemplating- The promptTemplating of thisModuleConfigs- Returns:
- The same instance of this
ModuleConfigsclass
-
getPromptTemplating
Get promptTemplating- Returns:
- promptTemplating The promptTemplating of this
ModuleConfigsinstance.
-
setPromptTemplating
Set the promptTemplating of thisModuleConfigsinstance.- Parameters:
promptTemplating- The promptTemplating of thisModuleConfigs
-
filtering
Set the filtering of thisModuleConfigsinstance and return the same instance.- Parameters:
filtering- The filtering of thisModuleConfigs- Returns:
- The same instance of this
ModuleConfigsclass
-
getFiltering
Get filtering- Returns:
- filtering The filtering of this
ModuleConfigsinstance.
-
setFiltering
Set the filtering of thisModuleConfigsinstance.- Parameters:
filtering- The filtering of thisModuleConfigs
-
masking
Set the masking of thisModuleConfigsinstance and return the same instance.- Parameters:
masking- The masking of thisModuleConfigs- Returns:
- The same instance of this
ModuleConfigsclass
-
getMasking
Get masking- Returns:
- masking The masking of this
ModuleConfigsinstance.
-
setMasking
Set the masking of thisModuleConfigsinstance.- Parameters:
masking- The masking of thisModuleConfigs
-
grounding
Set the grounding of thisModuleConfigsinstance and return the same instance.- Parameters:
grounding- The grounding of thisModuleConfigs- Returns:
- The same instance of this
ModuleConfigsclass
-
getGrounding
Get grounding- Returns:
- grounding The grounding of this
ModuleConfigsinstance.
-
setGrounding
Set the grounding of thisModuleConfigsinstance.- Parameters:
grounding- The grounding of thisModuleConfigs
-
translation
Set the translation of thisModuleConfigsinstance and return the same instance.- Parameters:
translation- The translation of thisModuleConfigs- Returns:
- The same instance of this
ModuleConfigsclass
-
getTranslation
Get translation- Returns:
- translation The translation of this
ModuleConfigsinstance.
-
setTranslation
Set the translation of thisModuleConfigsinstance.- Parameters:
translation- The translation of thisModuleConfigs
-
getCustomFieldNames
Get the names of the unrecognizable properties of theModuleConfigs.- 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 thisModuleConfigsinstance.- 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 thisModuleConfigsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisModuleConfigsinstance. 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 type-safe, fluent-api builder object to construct a newModuleConfigsinstance with all required arguments.
-
toMap()instead.