Package com.sap.ai.sdk.core.model
Class AiExecutableArtifact
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutableArtifact
AiExecutableArtifact
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutableArtifact. -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(AiLabel labelsItem) Add one labels instance to thisAiExecutableArtifact.static AiExecutableArtifact.Buildercreate()Create a type-safe, fluent-api builder object to construct a newAiExecutableArtifactinstance with all required arguments.description(String description) Set the description of thisAiExecutableArtifactinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutableArtifact.Description of the signature argumentgetKind()Artifact kind (model, dataset, other)Arbitrary labels as meta informationgetName()Name of the executable input artifactsinthashCode()Set the kind of thisAiExecutableArtifactinstance and return the same instance.Set the labels of thisAiExecutableArtifactinstance and return the same instance.Set the name of thisAiExecutableArtifactinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutableArtifactinstance.voidsetDescription(String description) Set the description of thisAiExecutableArtifactinstance.voidSet the kind of thisAiExecutableArtifactinstance.voidSet the labels of thisAiExecutableArtifactinstance.voidSet the name of thisAiExecutableArtifactinstance.toMap()Get the value of all properties of thisAiExecutableArtifactinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutableArtifact
protected AiExecutableArtifact()Default constructor for AiExecutableArtifact.
-
-
Method Details
-
name
Set the name of thisAiExecutableArtifactinstance and return the same instance.- Parameters:
name- Name of the executable input artifacts- Returns:
- The same instance of this
AiExecutableArtifactclass
-
getName
Name of the executable input artifacts- Returns:
- name The name of this
AiExecutableArtifactinstance.
-
setName
Set the name of thisAiExecutableArtifactinstance.- Parameters:
name- Name of the executable input artifacts
-
kind
Set the kind of thisAiExecutableArtifactinstance and return the same instance.- Parameters:
kind- Artifact kind (model, dataset, other)- Returns:
- The same instance of this
AiExecutableArtifactclass
-
getKind
Artifact kind (model, dataset, other)- Returns:
- kind The kind of this
AiExecutableArtifactinstance.
-
setKind
Set the kind of thisAiExecutableArtifactinstance.- Parameters:
kind- Artifact kind (model, dataset, other)
-
description
Set the description of thisAiExecutableArtifactinstance and return the same instance.- Parameters:
description- Description of the signature argument- Returns:
- The same instance of this
AiExecutableArtifactclass
-
getDescription
Description of the signature argument- Returns:
- description The description of this
AiExecutableArtifactinstance.
-
setDescription
Set the description of thisAiExecutableArtifactinstance.- Parameters:
description- Description of the signature argument
-
labels
Set the labels of thisAiExecutableArtifactinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
AiExecutableArtifactclass
-
addLabelsItem
Add one labels instance to thisAiExecutableArtifact.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
AiExecutableArtifact
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
AiExecutableArtifactinstance.
-
setLabels
Set the labels of thisAiExecutableArtifactinstance.- Parameters:
labels- Arbitrary labels as meta information
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutableArtifact.- 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 thisAiExecutableArtifactinstance.- 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 thisAiExecutableArtifactinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutableArtifactinstance. 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 newAiExecutableArtifactinstance with all required arguments.
-
toMap()instead.