Class GroundingModuleConfig
java.lang.Object
com.sap.ai.sdk.orchestration.model.GroundingModuleConfig
GroundingModuleConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for GroundingModuleConfig. -
Method Summary
Modifier and TypeMethodDescriptionconfig(GroundingModuleConfigConfig config) Set the config of thisGroundingModuleConfiginstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newGroundingModuleConfiginstance with all required arguments.booleanGet configgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theGroundingModuleConfig.getType()Get typeinthashCode()voidsetConfig(GroundingModuleConfigConfig config) Set the config of thisGroundingModuleConfiginstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisGroundingModuleConfiginstance.voidSet the type of thisGroundingModuleConfiginstance.toMap()Get the value of all properties of thisGroundingModuleConfiginstance including unrecognized properties.toString()Set the type of thisGroundingModuleConfiginstance and return the same instance.
-
Constructor Details
-
GroundingModuleConfig
protected GroundingModuleConfig()Default constructor for GroundingModuleConfig.
-
-
Method Details
-
type
Set the type of thisGroundingModuleConfiginstance and return the same instance.- Parameters:
type- The type of thisGroundingModuleConfig- Returns:
- The same instance of this
GroundingModuleConfigclass
-
getType
Get type- Returns:
- type The type of this
GroundingModuleConfiginstance.
-
setType
Set the type of thisGroundingModuleConfiginstance.- Parameters:
type- The type of thisGroundingModuleConfig
-
config
Set the config of thisGroundingModuleConfiginstance and return the same instance.- Parameters:
config- The config of thisGroundingModuleConfig- Returns:
- The same instance of this
GroundingModuleConfigclass
-
getConfig
Get config- Returns:
- config The config of this
GroundingModuleConfiginstance.
-
setConfig
Set the config of thisGroundingModuleConfiginstance.- Parameters:
config- The config of thisGroundingModuleConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theGroundingModuleConfig.- 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 thisGroundingModuleConfiginstance.- 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 thisGroundingModuleConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisGroundingModuleConfiginstance. 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 newGroundingModuleConfiginstance with all required arguments.
-
toMap()instead.