Class EmbeddingsOrchestrationConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsOrchestrationConfig
EmbeddingsOrchestrationConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsOrchestrationConfig. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newEmbeddingsOrchestrationConfiginstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsOrchestrationConfig.Get modulesinthashCode()modules(EmbeddingsModuleConfigs modules) Set the modules of thisEmbeddingsOrchestrationConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsOrchestrationConfiginstance.voidsetModules(EmbeddingsModuleConfigs modules) Set the modules of thisEmbeddingsOrchestrationConfiginstance.toMap()Get the value of all properties of thisEmbeddingsOrchestrationConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
EmbeddingsOrchestrationConfig
protected EmbeddingsOrchestrationConfig()Default constructor for EmbeddingsOrchestrationConfig.
-
-
Method Details
-
modules
Set the modules of thisEmbeddingsOrchestrationConfiginstance and return the same instance.- Parameters:
modules- The modules of thisEmbeddingsOrchestrationConfig- Returns:
- The same instance of this
EmbeddingsOrchestrationConfigclass
-
getModules
Get modules- Returns:
- modules The modules of this
EmbeddingsOrchestrationConfiginstance.
-
setModules
Set the modules of thisEmbeddingsOrchestrationConfiginstance.- Parameters:
modules- The modules of thisEmbeddingsOrchestrationConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsOrchestrationConfig.- 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 thisEmbeddingsOrchestrationConfiginstance.- 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 thisEmbeddingsOrchestrationConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsOrchestrationConfiginstance. 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 newEmbeddingsOrchestrationConfiginstance with all required arguments.
-
toMap()instead.