Package com.sap.ai.sdk.core.model
Class AiConfigurationBaseData
java.lang.Object
com.sap.ai.sdk.core.model.AiConfigurationBaseData
AiConfigurationBaseData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiConfigurationBaseData. -
Method Summary
Modifier and TypeMethodDescriptionaddInputArtifactBindingsItem(AiArtifactArgumentBinding inputArtifactBindingsItem) Add one inputArtifactBindings instance to thisAiConfigurationBaseData.addParameterBindingsItem(AiParameterArgumentBinding parameterBindingsItem) Add one parameterBindings instance to thisAiConfigurationBaseData.create()Create a type-safe, fluent-api builder object to construct a newAiConfigurationBaseDatainstance with all required arguments.booleanexecutableId(String executableId) Set the executableId of thisAiConfigurationBaseDatainstance and return the same instance.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiConfigurationBaseData.ID of the executableGet inputArtifactBindingsgetName()Name of the configurationGet parameterBindingsID of the scenariointhashCode()inputArtifactBindings(List<AiArtifactArgumentBinding> inputArtifactBindings) Set the inputArtifactBindings of thisAiConfigurationBaseDatainstance and return the same instance.Set the name of thisAiConfigurationBaseDatainstance and return the same instance.parameterBindings(List<AiParameterArgumentBinding> parameterBindings) Set the parameterBindings of thisAiConfigurationBaseDatainstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisAiConfigurationBaseDatainstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiConfigurationBaseDatainstance.voidsetExecutableId(String executableId) Set the executableId of thisAiConfigurationBaseDatainstance.voidsetInputArtifactBindings(List<AiArtifactArgumentBinding> inputArtifactBindings) Set the inputArtifactBindings of thisAiConfigurationBaseDatainstance.voidSet the name of thisAiConfigurationBaseDatainstance.voidsetParameterBindings(List<AiParameterArgumentBinding> parameterBindings) Set the parameterBindings of thisAiConfigurationBaseDatainstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisAiConfigurationBaseDatainstance.toMap()Get the value of all properties of thisAiConfigurationBaseDatainstance including unrecognized properties.toString()
-
Constructor Details
-
AiConfigurationBaseData
protected AiConfigurationBaseData()Default constructor for AiConfigurationBaseData.
-
-
Method Details
-
name
Set the name of thisAiConfigurationBaseDatainstance and return the same instance.- Parameters:
name- Name of the configuration- Returns:
- The same instance of this
AiConfigurationBaseDataclass
-
getName
Name of the configuration- Returns:
- name The name of this
AiConfigurationBaseDatainstance.
-
setName
Set the name of thisAiConfigurationBaseDatainstance.- Parameters:
name- Name of the configuration
-
executableId
Set the executableId of thisAiConfigurationBaseDatainstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
AiConfigurationBaseDataclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
AiConfigurationBaseDatainstance.
-
setExecutableId
Set the executableId of thisAiConfigurationBaseDatainstance.- Parameters:
executableId- ID of the executable
-
scenarioId
Set the scenarioId of thisAiConfigurationBaseDatainstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
AiConfigurationBaseDataclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
AiConfigurationBaseDatainstance.
-
setScenarioId
Set the scenarioId of thisAiConfigurationBaseDatainstance.- Parameters:
scenarioId- ID of the scenario
-
parameterBindings
@Nonnull public AiConfigurationBaseData parameterBindings(@Nullable List<AiParameterArgumentBinding> parameterBindings) Set the parameterBindings of thisAiConfigurationBaseDatainstance and return the same instance.- Parameters:
parameterBindings- The parameterBindings of thisAiConfigurationBaseData- Returns:
- The same instance of this
AiConfigurationBaseDataclass
-
addParameterBindingsItem
@Nonnull public AiConfigurationBaseData addParameterBindingsItem(@Nonnull AiParameterArgumentBinding parameterBindingsItem) Add one parameterBindings instance to thisAiConfigurationBaseData.- Parameters:
parameterBindingsItem- The parameterBindings that should be added- Returns:
- The same instance of type
AiConfigurationBaseData
-
getParameterBindings
Get parameterBindings- Returns:
- parameterBindings The parameterBindings of this
AiConfigurationBaseDatainstance.
-
setParameterBindings
Set the parameterBindings of thisAiConfigurationBaseDatainstance.- Parameters:
parameterBindings- The parameterBindings of thisAiConfigurationBaseData
-
inputArtifactBindings
@Nonnull public AiConfigurationBaseData inputArtifactBindings(@Nullable List<AiArtifactArgumentBinding> inputArtifactBindings) Set the inputArtifactBindings of thisAiConfigurationBaseDatainstance and return the same instance.- Parameters:
inputArtifactBindings- The inputArtifactBindings of thisAiConfigurationBaseData- Returns:
- The same instance of this
AiConfigurationBaseDataclass
-
addInputArtifactBindingsItem
@Nonnull public AiConfigurationBaseData addInputArtifactBindingsItem(@Nonnull AiArtifactArgumentBinding inputArtifactBindingsItem) Add one inputArtifactBindings instance to thisAiConfigurationBaseData.- Parameters:
inputArtifactBindingsItem- The inputArtifactBindings that should be added- Returns:
- The same instance of type
AiConfigurationBaseData
-
getInputArtifactBindings
Get inputArtifactBindings- Returns:
- inputArtifactBindings The inputArtifactBindings of this
AiConfigurationBaseDatainstance.
-
setInputArtifactBindings
public void setInputArtifactBindings(@Nullable List<AiArtifactArgumentBinding> inputArtifactBindings) Set the inputArtifactBindings of thisAiConfigurationBaseDatainstance.- Parameters:
inputArtifactBindings- The inputArtifactBindings of thisAiConfigurationBaseData
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiConfigurationBaseData.- 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 thisAiConfigurationBaseDatainstance.- 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 thisAiConfigurationBaseDatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiConfigurationBaseDatainstance. 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 newAiConfigurationBaseDatainstance with all required arguments.
-
toMap()instead.