Package com.sap.ai.sdk.core.model
Class RTAExecution
java.lang.Object
com.sap.ai.sdk.core.model.RTAExecution
Execution
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumStatus of the execution -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RTAExecution.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTAExecutioninstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisRTAExecutioninstance and return the same instance.booleanexecutableId(String executableId) Set the executableId of thisRTAExecutioninstance and return the same instance.finishTimestamp(OffsetDateTime finishTimestamp) Set the finishTimestamp of thisRTAExecutioninstance and return the same instance.Timestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTAExecution.ID of the executableTimestamp of execution finishgetId()ID of the executionTimestamp of latest resource modificationID of the scenarioTimestamp of execution startStatus of the executionExecution status messageTimestamp of execution submissioninthashCode()Set the id of thisRTAExecutioninstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAExecutioninstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisRTAExecutioninstance and return the same instance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisRTAExecutioninstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTAExecutioninstance.voidsetExecutableId(String executableId) Set the executableId of thisRTAExecutioninstance.voidsetFinishTimestamp(OffsetDateTime finishTimestamp) Set the finishTimestamp of thisRTAExecutioninstance.voidSet the id of thisRTAExecutioninstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTAExecutioninstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisRTAExecutioninstance.voidsetStartTimestamp(OffsetDateTime startTimestamp) Set the startTimestamp of thisRTAExecutioninstance.voidsetStatus(RTAExecution.StatusEnum status) Set the status of thisRTAExecutioninstance.voidsetStatusMessage(String statusMessage) Set the statusMessage of thisRTAExecutioninstance.voidsetSubmissionTimestamp(OffsetDateTime submissionTimestamp) Set the submissionTimestamp of thisRTAExecutioninstance.startTimestamp(OffsetDateTime startTimestamp) Set the startTimestamp of thisRTAExecutioninstance and return the same instance.status(RTAExecution.StatusEnum status) Set the status of thisRTAExecutioninstance and return the same instance.statusMessage(String statusMessage) Set the statusMessage of thisRTAExecutioninstance and return the same instance.submissionTimestamp(OffsetDateTime submissionTimestamp) Set the submissionTimestamp of thisRTAExecutioninstance and return the same instance.toMap()Get the value of all properties of thisRTAExecutioninstance including unrecognized properties.toString()
-
Constructor Details
-
RTAExecution
protected RTAExecution()Default constructor for RTAExecution.
-
-
Method Details
-
scenarioId
Set the scenarioId of thisRTAExecutioninstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
RTAExecutionclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
RTAExecutioninstance.
-
setScenarioId
Set the scenarioId of thisRTAExecutioninstance.- Parameters:
scenarioId- ID of the scenario
-
executableId
Set the executableId of thisRTAExecutioninstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
RTAExecutionclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
RTAExecutioninstance.
-
setExecutableId
Set the executableId of thisRTAExecutioninstance.- Parameters:
executableId- ID of the executable
-
id
Set the id of thisRTAExecutioninstance and return the same instance.- Parameters:
id- ID of the execution- Returns:
- The same instance of this
RTAExecutionclass
-
getId
ID of the execution- Returns:
- id The id of this
RTAExecutioninstance.
-
setId
Set the id of thisRTAExecutioninstance.- Parameters:
id- ID of the execution
-
status
Set the status of thisRTAExecutioninstance and return the same instance.- Parameters:
status- Status of the execution- Returns:
- The same instance of this
RTAExecutionclass
-
getStatus
Status of the execution- Returns:
- status The status of this
RTAExecutioninstance.
-
setStatus
Set the status of thisRTAExecutioninstance.- Parameters:
status- Status of the execution
-
statusMessage
Set the statusMessage of thisRTAExecutioninstance and return the same instance.- Parameters:
statusMessage- Execution status message- Returns:
- The same instance of this
RTAExecutionclass
-
getStatusMessage
Execution status message- Returns:
- statusMessage The statusMessage of this
RTAExecutioninstance.
-
setStatusMessage
Set the statusMessage of thisRTAExecutioninstance.- Parameters:
statusMessage- Execution status message
-
submissionTimestamp
Set the submissionTimestamp of thisRTAExecutioninstance and return the same instance.- Parameters:
submissionTimestamp- Timestamp of execution submission- Returns:
- The same instance of this
RTAExecutionclass
-
getSubmissionTimestamp
Timestamp of execution submission- Returns:
- submissionTimestamp The submissionTimestamp of this
RTAExecutioninstance.
-
setSubmissionTimestamp
Set the submissionTimestamp of thisRTAExecutioninstance.- Parameters:
submissionTimestamp- Timestamp of execution submission
-
startTimestamp
Set the startTimestamp of thisRTAExecutioninstance and return the same instance.- Parameters:
startTimestamp- Timestamp of execution start- Returns:
- The same instance of this
RTAExecutionclass
-
getStartTimestamp
Timestamp of execution start- Returns:
- startTimestamp The startTimestamp of this
RTAExecutioninstance.
-
setStartTimestamp
Set the startTimestamp of thisRTAExecutioninstance.- Parameters:
startTimestamp- Timestamp of execution start
-
finishTimestamp
Set the finishTimestamp of thisRTAExecutioninstance and return the same instance.- Parameters:
finishTimestamp- Timestamp of execution finish- Returns:
- The same instance of this
RTAExecutionclass
-
getFinishTimestamp
Timestamp of execution finish- Returns:
- finishTimestamp The finishTimestamp of this
RTAExecutioninstance.
-
setFinishTimestamp
Set the finishTimestamp of thisRTAExecutioninstance.- Parameters:
finishTimestamp- Timestamp of execution finish
-
createdAt
Set the createdAt of thisRTAExecutioninstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
RTAExecutionclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
RTAExecutioninstance.
-
setCreatedAt
Set the createdAt of thisRTAExecutioninstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisRTAExecutioninstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
RTAExecutionclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
RTAExecutioninstance.
-
setModifiedAt
Set the modifiedAt of thisRTAExecutioninstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTAExecution.- 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 thisRTAExecutioninstance.- 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 thisRTAExecutioninstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTAExecutioninstance. 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 newRTAExecutioninstance with all required arguments.
-
toMap()instead.