Class RTAExecutable

java.lang.Object
com.sap.ai.sdk.core.model.RTAExecutable

public class RTAExecutable extends Object
Entity having labels
  • Constructor Details

    • RTAExecutable

      protected RTAExecutable()
      Default constructor for RTAExecutable.
  • Method Details

    • id

      @Nonnull public RTAExecutable id(@Nonnull String id)
      Set the id of this RTAExecutable instance and return the same instance.
      Parameters:
      id - ID of the executable
      Returns:
      The same instance of this RTAExecutable class
    • getId

      @Nonnull public String getId()
      ID of the executable
      Returns:
      id The id of this RTAExecutable instance.
    • setId

      public void setId(@Nonnull String id)
      Set the id of this RTAExecutable instance.
      Parameters:
      id - ID of the executable
    • name

      @Nonnull public RTAExecutable name(@Nonnull String name)
      Set the name of this RTAExecutable instance and return the same instance.
      Parameters:
      name - Name of the executable
      Returns:
      The same instance of this RTAExecutable class
    • getName

      @Nonnull public String getName()
      Name of the executable
      Returns:
      name The name of this RTAExecutable instance.
    • setName

      public void setName(@Nonnull String name)
      Set the name of this RTAExecutable instance.
      Parameters:
      name - Name of the executable
    • description

      @Nonnull public RTAExecutable description(@Nullable String description)
      Set the description of this RTAExecutable instance and return the same instance.
      Parameters:
      description - Description of the executable
      Returns:
      The same instance of this RTAExecutable class
    • getDescription

      @Nonnull public String getDescription()
      Description of the executable
      Returns:
      description The description of this RTAExecutable instance.
    • setDescription

      public void setDescription(@Nullable String description)
      Set the description of this RTAExecutable instance.
      Parameters:
      description - Description of the executable
    • scenarioId

      @Nonnull public RTAExecutable scenarioId(@Nonnull String scenarioId)
      Set the scenarioId of this RTAExecutable instance and return the same instance.
      Parameters:
      scenarioId - ID of the scenario
      Returns:
      The same instance of this RTAExecutable class
    • getScenarioId

      @Nonnull public String getScenarioId()
      ID of the scenario
      Returns:
      scenarioId The scenarioId of this RTAExecutable instance.
    • setScenarioId

      public void setScenarioId(@Nonnull String scenarioId)
      Set the scenarioId of this RTAExecutable instance.
      Parameters:
      scenarioId - ID of the scenario
    • inputArtifacts

      @Nonnull public RTAExecutable inputArtifacts(@Nullable List<RTAExecutableArtifact> inputArtifacts)
      Set the inputArtifacts of this RTAExecutable instance and return the same instance.
      Parameters:
      inputArtifacts - List of Artifacts that the executable expects as input artifacts
      Returns:
      The same instance of this RTAExecutable class
    • addInputArtifactsItem

      @Nonnull public RTAExecutable addInputArtifactsItem(@Nonnull RTAExecutableArtifact inputArtifactsItem)
      Add one inputArtifacts instance to this RTAExecutable.
      Parameters:
      inputArtifactsItem - The inputArtifacts that should be added
      Returns:
      The same instance of type RTAExecutable
    • getInputArtifacts

      @Nonnull public List<RTAExecutableArtifact> getInputArtifacts()
      List of Artifacts that the executable expects as input artifacts
      Returns:
      inputArtifacts The inputArtifacts of this RTAExecutable instance.
    • setInputArtifacts

      public void setInputArtifacts(@Nullable List<RTAExecutableArtifact> inputArtifacts)
      Set the inputArtifacts of this RTAExecutable instance.
      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 this RTAExecutable instance 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 RTAExecutable class
    • addOutputArtifactsItem

      @Nonnull public RTAExecutable addOutputArtifactsItem(@Nonnull RTAExecutableArtifact outputArtifactsItem)
      Add one outputArtifacts instance to this RTAExecutable.
      Parameters:
      outputArtifactsItem - The outputArtifacts that should be added
      Returns:
      The same instance of type RTAExecutable
    • getOutputArtifacts

      @Nonnull public List<RTAExecutableArtifact> 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 RTAExecutable instance.
    • setOutputArtifacts

      public void setOutputArtifacts(@Nullable List<RTAExecutableArtifact> outputArtifacts)
      Set the outputArtifacts of this RTAExecutable 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
    • parameters

      @Nonnull public RTAExecutable parameters(@Nullable List<RTAExecutableParameter> parameters)
      Set the parameters of this RTAExecutable instance and return the same instance.
      Parameters:
      parameters - Executable parameters
      Returns:
      The same instance of this RTAExecutable class
    • addParametersItem

      @Nonnull public RTAExecutable addParametersItem(@Nonnull RTAExecutableParameter parametersItem)
      Add one parameters instance to this RTAExecutable.
      Parameters:
      parametersItem - The parameters that should be added
      Returns:
      The same instance of type RTAExecutable
    • getParameters

      @Nonnull public List<RTAExecutableParameter> getParameters()
      Executable parameters
      Returns:
      parameters The parameters of this RTAExecutable instance.
    • setParameters

      public void setParameters(@Nullable List<RTAExecutableParameter> parameters)
      Set the parameters of this RTAExecutable instance.
      Parameters:
      parameters - Executable parameters
    • deployable

      @Nonnull public RTAExecutable deployable(@Nonnull Boolean deployable)
      Set the deployable of this RTAExecutable instance and return the same instance.
      Parameters:
      deployable - Whether this pipeline is deployable
      Returns:
      The same instance of this RTAExecutable class
    • isDeployable

      @Nonnull public Boolean isDeployable()
      Whether this pipeline is deployable
      Returns:
      deployable The deployable of this RTAExecutable instance.
    • setDeployable

      public void setDeployable(@Nonnull Boolean deployable)
      Set the deployable of this RTAExecutable instance.
      Parameters:
      deployable - Whether this pipeline is deployable
    • labels

      @Nonnull public RTAExecutable labels(@Nullable List<RTALabel> labels)
      Set the labels of this RTAExecutable instance and return the same instance.
      Parameters:
      labels - Arbitrary labels as meta information
      Returns:
      The same instance of this RTAExecutable class
    • addLabelsItem

      @Nonnull public RTAExecutable addLabelsItem(@Nonnull RTALabel labelsItem)
      Add one labels instance to this RTAExecutable.
      Parameters:
      labelsItem - The labels that should be added
      Returns:
      The same instance of type RTAExecutable
    • getLabels

      @Nonnull public List<RTALabel> getLabels()
      Arbitrary labels as meta information
      Returns:
      labels The labels of this RTAExecutable instance.
    • setLabels

      public void setLabels(@Nullable List<RTALabel> labels)
      Set the labels of this RTAExecutable instance.
      Parameters:
      labels - Arbitrary labels as meta information
    • createdAt

      @Nonnull public RTAExecutable createdAt(@Nonnull OffsetDateTime createdAt)
      Set the createdAt of this RTAExecutable instance and return the same instance.
      Parameters:
      createdAt - Timestamp of resource creation
      Returns:
      The same instance of this RTAExecutable class
    • getCreatedAt

      @Nonnull public OffsetDateTime getCreatedAt()
      Timestamp of resource creation
      Returns:
      createdAt The createdAt of this RTAExecutable instance.
    • setCreatedAt

      public void setCreatedAt(@Nonnull OffsetDateTime createdAt)
      Set the createdAt of this RTAExecutable instance.
      Parameters:
      createdAt - Timestamp of resource creation
    • modifiedAt

      @Nonnull public RTAExecutable modifiedAt(@Nonnull OffsetDateTime modifiedAt)
      Set the modifiedAt of this RTAExecutable instance and return the same instance.
      Parameters:
      modifiedAt - Timestamp of latest resource modification
      Returns:
      The same instance of this RTAExecutable class
    • getModifiedAt

      @Nonnull public OffsetDateTime getModifiedAt()
      Timestamp of latest resource modification
      Returns:
      modifiedAt The modifiedAt of this RTAExecutable instance.
    • setModifiedAt

      public void setModifiedAt(@Nonnull OffsetDateTime modifiedAt)
      Set the modifiedAt of this RTAExecutable instance.
      Parameters:
      modifiedAt - Timestamp of latest resource modification
    • getCustomFieldNames

      @Nonnull public Set<String> getCustomFieldNames()
      Get the names of the unrecognizable properties of the RTAExecutable.
      Returns:
      The set of properties names
    • getCustomField

      @Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException
      Deprecated.
      Use toMap() instead.
      Get the value of an unrecognizable property of this RTAExecutable instance.
      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

      @Nonnull public Map<String,Object> toMap()
      Get the value of all properties of this RTAExecutable instance including unrecognized properties.
      Returns:
      The map of all properties
    • setCustomField

      public void setCustomField(@Nonnull String customFieldName, @Nullable Object customFieldValue)
      Set an unrecognizable property of this RTAExecutable instance. 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 property
      customFieldValue - The value of the property
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • create

      public static RTAExecutable.Builder create()
      Create a type-safe, fluent-api builder object to construct a new RTAExecutable instance with all required arguments.