Class TranslationModuleConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.TranslationModuleConfig
Configuration for translation module
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for TranslationModuleConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic TranslationModuleConfigcreate()Create a newTranslationModuleConfiginstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theTranslationModuleConfig.getInput()Get inputGet outputinthashCode()input(SAPDocumentTranslationInput input) Set the input of thisTranslationModuleConfiginstance and return the same instance.output(SAPDocumentTranslationOutput output) Set the output of thisTranslationModuleConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisTranslationModuleConfiginstance.voidSet the input of thisTranslationModuleConfiginstance.voidSet the output of thisTranslationModuleConfiginstance.toMap()Get the value of all properties of thisTranslationModuleConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
TranslationModuleConfig
protected TranslationModuleConfig()Default constructor for TranslationModuleConfig.
-
-
Method Details
-
input
Set the input of thisTranslationModuleConfiginstance and return the same instance.- Parameters:
input- The input of thisTranslationModuleConfig- Returns:
- The same instance of this
TranslationModuleConfigclass
-
getInput
Get input- Returns:
- input The input of this
TranslationModuleConfiginstance.
-
setInput
Set the input of thisTranslationModuleConfiginstance.- Parameters:
input- The input of thisTranslationModuleConfig
-
output
Set the output of thisTranslationModuleConfiginstance and return the same instance.- Parameters:
output- The output of thisTranslationModuleConfig- Returns:
- The same instance of this
TranslationModuleConfigclass
-
getOutput
Get output- Returns:
- output The output of this
TranslationModuleConfiginstance.
-
setOutput
Set the output of thisTranslationModuleConfiginstance.- Parameters:
output- The output of thisTranslationModuleConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theTranslationModuleConfig.- 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 thisTranslationModuleConfiginstance.- 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 thisTranslationModuleConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisTranslationModuleConfiginstance. 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 newTranslationModuleConfiginstance. No arguments are required.
-
toMap()instead.