Package com.sap.ai.sdk.core.model
Class RTAArtifact
java.lang.Object
com.sap.ai.sdk.core.model.RTAArtifact
Entity having labels
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumKind of the artifact, i.e. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(RTALabel labelsItem) Add one labels instance to thisRTAArtifact.static RTAArtifact.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAArtifactinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisRTAArtifactinstance and return the same instance.booleanexecutionId(String executionId) Set the executionId of thisRTAArtifactinstance and return the same instance.Timestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAArtifact.ID of the executiongetKind()Kind of the artifact, i.e.Arbitrary labels as meta informationgetName()Name of the artifact; this is used for dependent pipelines to resolve an artifactGet signaturegetUrl()Reference to the location of the artifact.inthashCode()kind(RTAArtifact.KindEnum kind) Set the kind of thisRTAArtifactinstance and return the same instance.Set the labels of thisRTAArtifactinstance and return the same instance.Set the name of thisRTAArtifactinstance and return the same instance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisRTAArtifactinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAArtifactinstance.voidsetExecutionId(String executionId) Set the executionId of thisRTAArtifactinstance.voidsetKind(RTAArtifact.KindEnum kind) Set the kind of thisRTAArtifactinstance.voidSet the labels of thisRTAArtifactinstance.voidSet the name of thisRTAArtifactinstance.voidsetSignature(String signature) Set the signature of thisRTAArtifactinstance.voidSet the url of thisRTAArtifactinstance.Set the signature of thisRTAArtifactinstance and return the same instance.toMap()Get the value of all properties of thisRTAArtifactinstance including unrecognized properties.toString()Set the url of thisRTAArtifactinstance and return the same instance.
-
Constructor Details
-
RTAArtifact
protected RTAArtifact()Default constructor for RTAArtifact.
-
-
Method Details
-
name
Set the name of thisRTAArtifactinstance and return the same instance.- Parameters:
name- Name of the artifact; this is used for dependent pipelines to resolve an artifact- Returns:
- The same instance of this
RTAArtifactclass
-
getName
Name of the artifact; this is used for dependent pipelines to resolve an artifact- Returns:
- name The name of this
RTAArtifactinstance.
-
setName
Set the name of thisRTAArtifactinstance.- Parameters:
name- Name of the artifact; this is used for dependent pipelines to resolve an artifact
-
executionId
Set the executionId of thisRTAArtifactinstance and return the same instance.- Parameters:
executionId- ID of the execution- Returns:
- The same instance of this
RTAArtifactclass
-
getExecutionId
ID of the execution- Returns:
- executionId The executionId of this
RTAArtifactinstance.
-
setExecutionId
Set the executionId of thisRTAArtifactinstance.- Parameters:
executionId- ID of the execution
-
url
Set the url of thisRTAArtifactinstance and return the same instance.- Parameters:
url- Reference to the location of the artifact. Note, the credentials will be found in a secret called 'some_bucket-object_store_secret'. If not provided, a default will be assumed.- Returns:
- The same instance of this
RTAArtifactclass
-
getUrl
Reference to the location of the artifact. Note, the credentials will be found in a secret called 'some_bucket-object_store_secret'. If not provided, a default will be assumed.- Returns:
- url The url of this
RTAArtifactinstance.
-
setUrl
Set the url of thisRTAArtifactinstance.- Parameters:
url- Reference to the location of the artifact. Note, the credentials will be found in a secret called 'some_bucket-object_store_secret'. If not provided, a default will be assumed.
-
signature
Set the signature of thisRTAArtifactinstance and return the same instance.- Parameters:
signature- The signature of thisRTAArtifact- Returns:
- The same instance of this
RTAArtifactclass
-
getSignature
Get signature- Returns:
- signature The signature of this
RTAArtifactinstance.
-
setSignature
Set the signature of thisRTAArtifactinstance.- Parameters:
signature- The signature of thisRTAArtifact
-
kind
Set the kind of thisRTAArtifactinstance and return the same instance.- Parameters:
kind- Kind of the artifact, i.e. model or dataset- Returns:
- The same instance of this
RTAArtifactclass
-
getKind
Kind of the artifact, i.e. model or dataset- Returns:
- kind The kind of this
RTAArtifactinstance.
-
setKind
Set the kind of thisRTAArtifactinstance.- Parameters:
kind- Kind of the artifact, i.e. model or dataset
-
labels
Set the labels of thisRTAArtifactinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
RTAArtifactclass
-
addLabelsItem
Add one labels instance to thisRTAArtifact.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
RTAArtifact
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
RTAArtifactinstance.
-
setLabels
Set the labels of thisRTAArtifactinstance.- Parameters:
labels- Arbitrary labels as meta information
-
createdAt
Set the createdAt of thisRTAArtifactinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
RTAArtifactclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
RTAArtifactinstance.
-
setCreatedAt
Set the createdAt of thisRTAArtifactinstance.- Parameters:
createdAt- Timestamp of resource creation
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAArtifact.- 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 thisRTAArtifactinstance.- 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 thisRTAArtifactinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAArtifactinstance. 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 newRTAArtifactinstance with all required arguments.
-
toMap()instead.