Package com.sap.ai.sdk.core.model
Class RTAExecutable
java.lang.Object
com.sap.ai.sdk.core.model.RTAExecutable
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 interfaceBuilder helper class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInputArtifactsItem(RTAExecutableArtifact inputArtifactsItem) Add one inputArtifacts instance to thisRTAExecutable.addLabelsItem(RTALabel labelsItem) Add one labels instance to thisRTAExecutable.addOutputArtifactsItem(RTAExecutableArtifact outputArtifactsItem) Add one outputArtifacts instance to thisRTAExecutable.addParametersItem(RTAExecutableParameter parametersItem) Add one parameters instance to thisRTAExecutable.static RTAExecutable.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAExecutableinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisRTAExecutableinstance and return the same instance.deployable(Boolean deployable) Set the deployable of thisRTAExecutableinstance and return the same instance.description(String description) Set the description of thisRTAExecutableinstance and return the same instance.booleanTimestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAExecutable.Description of the executablegetId()ID of the executableList of Artifacts that the executable expects as input artifactsArbitrary labels as meta informationTimestamp of latest resource modificationgetName()Name of the executableList of Artifacts that the executable will produce.Executable parametersID of the scenariointhashCode()Set the id of thisRTAExecutableinstance and return the same instance.inputArtifacts(List<RTAExecutableArtifact> inputArtifacts) Set the inputArtifacts of thisRTAExecutableinstance and return the same instance.Whether this pipeline is deployableSet the labels of thisRTAExecutableinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAExecutableinstance and return the same instance.Set the name of thisRTAExecutableinstance and return the same instance.outputArtifacts(List<RTAExecutableArtifact> outputArtifacts) Set the outputArtifacts of thisRTAExecutableinstance and return the same instance.parameters(List<RTAExecutableParameter> parameters) Set the parameters of thisRTAExecutableinstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisRTAExecutableinstance and return the same instance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisRTAExecutableinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAExecutableinstance.voidsetDeployable(Boolean deployable) Set the deployable of thisRTAExecutableinstance.voidsetDescription(String description) Set the description of thisRTAExecutableinstance.voidSet the id of thisRTAExecutableinstance.voidsetInputArtifacts(List<RTAExecutableArtifact> inputArtifacts) Set the inputArtifacts of thisRTAExecutableinstance.voidSet the labels of thisRTAExecutableinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAExecutableinstance.voidSet the name of thisRTAExecutableinstance.voidsetOutputArtifacts(List<RTAExecutableArtifact> outputArtifacts) Set the outputArtifacts of thisRTAExecutableinstance.voidsetParameters(List<RTAExecutableParameter> parameters) Set the parameters of thisRTAExecutableinstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisRTAExecutableinstance.toMap()Get the value of all properties of thisRTAExecutableinstance including unrecognized properties.toString()
-
Constructor Details
-
RTAExecutable
protected RTAExecutable()Default constructor for RTAExecutable.
-
-
Method Details
-
id
Set the id of thisRTAExecutableinstance and return the same instance.- Parameters:
id- ID of the executable- Returns:
- The same instance of this
RTAExecutableclass
-
getId
ID of the executable- Returns:
- id The id of this
RTAExecutableinstance.
-
setId
Set the id of thisRTAExecutableinstance.- Parameters:
id- ID of the executable
-
name
Set the name of thisRTAExecutableinstance and return the same instance.- Parameters:
name- Name of the executable- Returns:
- The same instance of this
RTAExecutableclass
-
getName
Name of the executable- Returns:
- name The name of this
RTAExecutableinstance.
-
setName
Set the name of thisRTAExecutableinstance.- Parameters:
name- Name of the executable
-
description
Set the description of thisRTAExecutableinstance and return the same instance.- Parameters:
description- Description of the executable- Returns:
- The same instance of this
RTAExecutableclass
-
getDescription
Description of the executable- Returns:
- description The description of this
RTAExecutableinstance.
-
setDescription
Set the description of thisRTAExecutableinstance.- Parameters:
description- Description of the executable
-
scenarioId
Set the scenarioId of thisRTAExecutableinstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
RTAExecutableclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
RTAExecutableinstance.
-
setScenarioId
Set the scenarioId of thisRTAExecutableinstance.- Parameters:
scenarioId- ID of the scenario
-
inputArtifacts
Set the inputArtifacts of thisRTAExecutableinstance and return the same instance.- Parameters:
inputArtifacts- List of Artifacts that the executable expects as input artifacts- Returns:
- The same instance of this
RTAExecutableclass
-
addInputArtifactsItem
@Nonnull public RTAExecutable addInputArtifactsItem(@Nonnull RTAExecutableArtifact inputArtifactsItem) Add one inputArtifacts instance to thisRTAExecutable.- Parameters:
inputArtifactsItem- The inputArtifacts that should be added- Returns:
- The same instance of type
RTAExecutable
-
getInputArtifacts
List of Artifacts that the executable expects as input artifacts- Returns:
- inputArtifacts The inputArtifacts of this
RTAExecutableinstance.
-
setInputArtifacts
Set the inputArtifacts of thisRTAExecutableinstance.- Parameters:
inputArtifacts- List of Artifacts that the executable expects as input artifacts
-
outputArtifacts
@Nonnull public RTAExecutable outputArtifacts(@Nullable List<RTAExecutableArtifact> outputArtifacts) Set the outputArtifacts of thisRTAExecutableinstance and return the same instance.- Parameters:
outputArtifacts- List of Artifacts that the executable will produce. If storage is not managed internally, a storage location will have to be specified when triggering an execution- Returns:
- The same instance of this
RTAExecutableclass
-
addOutputArtifactsItem
@Nonnull public RTAExecutable addOutputArtifactsItem(@Nonnull RTAExecutableArtifact outputArtifactsItem) Add one outputArtifacts instance to thisRTAExecutable.- Parameters:
outputArtifactsItem- The outputArtifacts that should be added- Returns:
- The same instance of type
RTAExecutable
-
getOutputArtifacts
List of Artifacts that the executable will produce. If storage is not managed internally, a storage location will have to be specified when triggering an execution- Returns:
- outputArtifacts The outputArtifacts of this
RTAExecutableinstance.
-
setOutputArtifacts
Set the outputArtifacts of thisRTAExecutableinstance.- Parameters:
outputArtifacts- List of Artifacts that the executable will produce. If storage is not managed internally, a storage location will have to be specified when triggering an execution
-
parameters
Set the parameters of thisRTAExecutableinstance and return the same instance.- Parameters:
parameters- Executable parameters- Returns:
- The same instance of this
RTAExecutableclass
-
addParametersItem
Add one parameters instance to thisRTAExecutable.- Parameters:
parametersItem- The parameters that should be added- Returns:
- The same instance of type
RTAExecutable
-
getParameters
Executable parameters- Returns:
- parameters The parameters of this
RTAExecutableinstance.
-
setParameters
Set the parameters of thisRTAExecutableinstance.- Parameters:
parameters- Executable parameters
-
deployable
Set the deployable of thisRTAExecutableinstance and return the same instance.- Parameters:
deployable- Whether this pipeline is deployable- Returns:
- The same instance of this
RTAExecutableclass
-
isDeployable
Whether this pipeline is deployable- Returns:
- deployable The deployable of this
RTAExecutableinstance.
-
setDeployable
Set the deployable of thisRTAExecutableinstance.- Parameters:
deployable- Whether this pipeline is deployable
-
labels
Set the labels of thisRTAExecutableinstance and return the same instance.- Parameters:
labels- Arbitrary labels as meta information- Returns:
- The same instance of this
RTAExecutableclass
-
addLabelsItem
Add one labels instance to thisRTAExecutable.- Parameters:
labelsItem- The labels that should be added- Returns:
- The same instance of type
RTAExecutable
-
getLabels
Arbitrary labels as meta information- Returns:
- labels The labels of this
RTAExecutableinstance.
-
setLabels
Set the labels of thisRTAExecutableinstance.- Parameters:
labels- Arbitrary labels as meta information
-
createdAt
Set the createdAt of thisRTAExecutableinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
RTAExecutableclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
RTAExecutableinstance.
-
setCreatedAt
Set the createdAt of thisRTAExecutableinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisRTAExecutableinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
RTAExecutableclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
RTAExecutableinstance.
-
setModifiedAt
Set the modifiedAt of thisRTAExecutableinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAExecutable.- 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 thisRTAExecutableinstance.- 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 thisRTAExecutableinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAExecutableinstance. 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 newRTAExecutableinstance with all required arguments.
-
toMap()instead.