Package com.sap.ai.sdk.core.model
Class RTAExecutableArtifact
java.lang.Object
com.sap.ai.sdk.core.model.RTAExecutableArtifact
Input or output artifact
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for RTAExecutableArtifact. -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(RTAArtifactLabel labelsItem) Add one labels instance to thisRTAExecutableArtifact.create()Create a type-safe, fluent-api builder object to construct a newRTAExecutableArtifactinstance with all required arguments.description(String description) Set the description of thisRTAExecutableArtifactinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAExecutableArtifact.Description of the signature argumentgetKind()Kind of the artifact, i.e.Arbitrary labels as meta informationgetName()Name of the signature argumentinthashCode()Set the kind of thisRTAExecutableArtifactinstance and return the same instance.labels(List<RTAArtifactLabel> labels) Set the labels of thisRTAExecutableArtifactinstance and return the same instance.Set the name of thisRTAExecutableArtifactinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAExecutableArtifactinstance.voidsetDescription(String description) Set the description of thisRTAExecutableArtifactinstance.voidSet the kind of thisRTAExecutableArtifactinstance.voidsetLabels(List<RTAArtifactLabel> labels) Set the labels of thisRTAExecutableArtifactinstance.voidSet the name of thisRTAExecutableArtifactinstance.toMap()Get the value of all properties of thisRTAExecutableArtifactinstance including unrecognized properties.toString()
-
Constructor Details
-
RTAExecutableArtifact
protected RTAExecutableArtifact()Default constructor for RTAExecutableArtifact.
-
-
Method Details
-
name
Set the name of thisRTAExecutableArtifactinstance and return the same instance.- Parameters:
name- Name of the signature argument- Returns:
- The same instance of this
RTAExecutableArtifactclass
-
getName
Name of the signature argument- Returns:
- name The name of this
RTAExecutableArtifactinstance.
-
setName
Set the name of thisRTAExecutableArtifactinstance.- Parameters:
name- Name of the signature argument
-
description
Set the description of thisRTAExecutableArtifactinstance and return the same instance.- Parameters:
description- Description of the signature argument- Returns:
- The same instance of this
RTAExecutableArtifactclass
-
getDescription
Description of the signature argument- Returns:
- description The description of this
RTAExecutableArtifactinstance.
-
setDescription
Set the description of thisRTAExecutableArtifactinstance.- Parameters:
description- Description of the signature argument
-
kind
Set the kind of thisRTAExecutableArtifactinstance and return the same instance.- Parameters:
kind- Kind of the artifact, i.e. model or dataset- Returns:
- The same instance of this
RTAExecutableArtifactclass
-
getKind
Kind of the artifact, i.e. model or dataset- Returns:
- kind The kind of this
RTAExecutableArtifactinstance.
-
setKind
Set the kind of thisRTAExecutableArtifactinstance.- Parameters:
kind- Kind of the artifact, i.e. model or dataset
-
labels
Set the labels of thisRTAExecutableArtifactinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
RTAExecutableArtifactclass
-
addLabelsItem
Add one labels instance to thisRTAExecutableArtifact.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
RTAExecutableArtifact
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
RTAExecutableArtifactinstance.
-
setLabels
Set the labels of thisRTAExecutableArtifactinstance.- Parameters:
labels- Arbitrary labels as meta information
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAExecutableArtifact.- 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 thisRTAExecutableArtifactinstance.- 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 thisRTAExecutableArtifactinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAExecutableArtifactinstance. 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 newRTAExecutableArtifactinstance with all required arguments.
-
toMap()instead.