Class TargetColumnConfig
java.lang.Object
com.sap.ai.sdk.foundationmodels.rpt.generated.model.TargetColumnConfig
Configuration for a target column in the prediction model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static enumGets or Sets taskType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for TargetColumnConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic TargetColumnConfig.Buildercreate()Create a type-safe, fluent-api builder object to construct a newTargetColumnConfiginstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theTargetColumnConfig.getName()The name of the target column.Get predictionPlaceholderGet taskTypeinthashCode()Set the name of thisTargetColumnConfiginstance and return the same instance.predictionPlaceholder(PredictionPlaceholder predictionPlaceholder) Set the predictionPlaceholder of thisTargetColumnConfiginstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisTargetColumnConfiginstance.voidSet the name of thisTargetColumnConfiginstance.voidsetPredictionPlaceholder(PredictionPlaceholder predictionPlaceholder) Set the predictionPlaceholder of thisTargetColumnConfiginstance.voidsetTaskType(TargetColumnConfig.TaskTypeEnum taskType) Set the taskType of thisTargetColumnConfiginstance.taskType(TargetColumnConfig.TaskTypeEnum taskType) Set the taskType of thisTargetColumnConfiginstance and return the same instance.toMap()Get the value of all properties of thisTargetColumnConfiginstance including unrecognized properties.toString()
-
Constructor Details
-
TargetColumnConfig
protected TargetColumnConfig()Default constructor for TargetColumnConfig.
-
-
Method Details
-
name
Set the name of thisTargetColumnConfiginstance and return the same instance.- Parameters:
name- The name of the target column.- Returns:
- The same instance of this
TargetColumnConfigclass
-
getName
The name of the target column.- Returns:
- name The name of this
TargetColumnConfiginstance.
-
setName
Set the name of thisTargetColumnConfiginstance.- Parameters:
name- The name of the target column.
-
predictionPlaceholder
@Nonnull public TargetColumnConfig predictionPlaceholder(@Nonnull PredictionPlaceholder predictionPlaceholder) Set the predictionPlaceholder of thisTargetColumnConfiginstance and return the same instance.- Parameters:
predictionPlaceholder- The predictionPlaceholder of thisTargetColumnConfig- Returns:
- The same instance of this
TargetColumnConfigclass
-
getPredictionPlaceholder
Get predictionPlaceholder- Returns:
- predictionPlaceholder The predictionPlaceholder of this
TargetColumnConfiginstance.
-
setPredictionPlaceholder
Set the predictionPlaceholder of thisTargetColumnConfiginstance.- Parameters:
predictionPlaceholder- The predictionPlaceholder of thisTargetColumnConfig
-
taskType
Set the taskType of thisTargetColumnConfiginstance and return the same instance.- Parameters:
taskType- The taskType of thisTargetColumnConfig- Returns:
- The same instance of this
TargetColumnConfigclass
-
getTaskType
Get taskType- Returns:
- taskType The taskType of this
TargetColumnConfiginstance.
-
setTaskType
Set the taskType of thisTargetColumnConfiginstance.- Parameters:
taskType- The taskType of thisTargetColumnConfig
-
getCustomFieldNames
Get the names of the unrecognizable properties of theTargetColumnConfig.- 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 thisTargetColumnConfiginstance.- 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 thisTargetColumnConfiginstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisTargetColumnConfiginstance. 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 newTargetColumnConfiginstance with all required arguments.
-
toMap()instead.