Class EmbeddingsModuleConfigs
java.lang.Object
com.sap.ai.sdk.orchestration.model.EmbeddingsModuleConfigs
EmbeddingsModuleConfigs
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for EmbeddingsModuleConfigs. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newEmbeddingsModuleConfigsinstance with all required arguments.embeddings(EmbeddingsModelConfig embeddings) Set the embeddings of thisEmbeddingsModuleConfigsinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theEmbeddingsModuleConfigs.Get embeddingsGet maskinginthashCode()masking(MaskingModuleConfig masking) Set the masking of thisEmbeddingsModuleConfigsinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisEmbeddingsModuleConfigsinstance.voidsetEmbeddings(EmbeddingsModelConfig embeddings) Set the embeddings of thisEmbeddingsModuleConfigsinstance.voidsetMasking(MaskingModuleConfig masking) Set the masking of thisEmbeddingsModuleConfigsinstance.toMap()Get the value of all properties of thisEmbeddingsModuleConfigsinstance including unrecognized properties.toString()
-
Constructor Details
-
EmbeddingsModuleConfigs
protected EmbeddingsModuleConfigs()Default constructor for EmbeddingsModuleConfigs.
-
-
Method Details
-
embeddings
Set the embeddings of thisEmbeddingsModuleConfigsinstance and return the same instance.- Parameters:
embeddings- The embeddings of thisEmbeddingsModuleConfigs- Returns:
- The same instance of this
EmbeddingsModuleConfigsclass
-
getEmbeddings
Get embeddings- Returns:
- embeddings The embeddings of this
EmbeddingsModuleConfigsinstance.
-
setEmbeddings
Set the embeddings of thisEmbeddingsModuleConfigsinstance.- Parameters:
embeddings- The embeddings of thisEmbeddingsModuleConfigs
-
masking
Set the masking of thisEmbeddingsModuleConfigsinstance and return the same instance.- Parameters:
masking- The masking of thisEmbeddingsModuleConfigs- Returns:
- The same instance of this
EmbeddingsModuleConfigsclass
-
getMasking
Get masking- Returns:
- masking The masking of this
EmbeddingsModuleConfigsinstance.
-
setMasking
Set the masking of thisEmbeddingsModuleConfigsinstance.- Parameters:
masking- The masking of thisEmbeddingsModuleConfigs
-
getCustomFieldNames
Get the names of the unrecognizable properties of theEmbeddingsModuleConfigs.- 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 thisEmbeddingsModuleConfigsinstance.- 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 thisEmbeddingsModuleConfigsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisEmbeddingsModuleConfigsinstance. 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 newEmbeddingsModuleConfigsinstance with all required arguments.
-
toMap()instead.