Package com.sap.ai.sdk.core.model
Class AiExecutionResponseWithDetails
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionResponseWithDetails
Execution that may generate artifacts
-
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 enumTarget status of the execution -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionResponseWithDetails. -
Method Summary
Modifier and TypeMethodDescriptionaddOutputArtifactsItem(AiArtifact outputArtifactsItem) Add one outputArtifacts instance to thisAiExecutionResponseWithDetails.completionTime(OffsetDateTime completionTime) Set the completionTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.configurationId(String configurationId) Set the configurationId of thisAiExecutionResponseWithDetailsinstance and return the same instance.configurationName(String configurationName) Set the configurationName of thisAiExecutionResponseWithDetailsinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newAiExecutionResponseWithDetailsinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisAiExecutionResponseWithDetailsinstance and return the same instance.booleanexecutableId(String executableId) Set the executableId of thisAiExecutionResponseWithDetailsinstance and return the same instance.executionScheduleId(String executionScheduleId) Set the executionScheduleId of thisAiExecutionResponseWithDetailsinstance and return the same instance.Timestamp of job status changed to COMPLETED/DEAD/STOPPEDID of the configurationName of the configurationTimestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionResponseWithDetails.ID of the executableID of the execution schedulegetId()ID of the executionTimestamp of latest resource modificationGet outputArtifactsID of the scenarioTimestamp of job status changed to RUNNINGGet statusCurrent status details of the executionExecution status messageTimestamp of job submittedTarget status of the executioninthashCode()Set the id of thisAiExecutionResponseWithDetailsinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiExecutionResponseWithDetailsinstance and return the same instance.outputArtifacts(List<AiArtifact> outputArtifacts) Set the outputArtifacts of thisAiExecutionResponseWithDetailsinstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisAiExecutionResponseWithDetailsinstance and return the same instance.voidsetCompletionTime(OffsetDateTime completionTime) Set the completionTime of thisAiExecutionResponseWithDetailsinstance.voidsetConfigurationId(String configurationId) Set the configurationId of thisAiExecutionResponseWithDetailsinstance.voidsetConfigurationName(String configurationName) Set the configurationName of thisAiExecutionResponseWithDetailsinstance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisAiExecutionResponseWithDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionResponseWithDetailsinstance.voidsetExecutableId(String executableId) Set the executableId of thisAiExecutionResponseWithDetailsinstance.voidsetExecutionScheduleId(String executionScheduleId) Set the executionScheduleId of thisAiExecutionResponseWithDetailsinstance.voidSet the id of thisAiExecutionResponseWithDetailsinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiExecutionResponseWithDetailsinstance.voidsetOutputArtifacts(List<AiArtifact> outputArtifacts) Set the outputArtifacts of thisAiExecutionResponseWithDetailsinstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisAiExecutionResponseWithDetailsinstance.voidsetStartTime(OffsetDateTime startTime) Set the startTime of thisAiExecutionResponseWithDetailsinstance.voidsetStatus(AiExecutionStatus status) Set the status of thisAiExecutionResponseWithDetailsinstance.voidsetStatusDetails(Object statusDetails) Set the statusDetails of thisAiExecutionResponseWithDetailsinstance.voidsetStatusMessage(String statusMessage) Set the statusMessage of thisAiExecutionResponseWithDetailsinstance.voidsetSubmissionTime(OffsetDateTime submissionTime) Set the submissionTime of thisAiExecutionResponseWithDetailsinstance.voidSet the targetStatus of thisAiExecutionResponseWithDetailsinstance.startTime(OffsetDateTime startTime) Set the startTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.status(AiExecutionStatus status) Set the status of thisAiExecutionResponseWithDetailsinstance and return the same instance.statusDetails(Object statusDetails) Set the statusDetails of thisAiExecutionResponseWithDetailsinstance and return the same instance.statusMessage(String statusMessage) Set the statusMessage of thisAiExecutionResponseWithDetailsinstance and return the same instance.submissionTime(OffsetDateTime submissionTime) Set the submissionTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.targetStatus(AiExecutionResponseWithDetails.TargetStatusEnum targetStatus) Set the targetStatus of thisAiExecutionResponseWithDetailsinstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionResponseWithDetailsinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionResponseWithDetails
protected AiExecutionResponseWithDetails()Default constructor for AiExecutionResponseWithDetails.
-
-
Method Details
-
id
Set the id of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
id- ID of the execution- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getId
ID of the execution- Returns:
- id The id of this
AiExecutionResponseWithDetailsinstance.
-
setId
Set the id of thisAiExecutionResponseWithDetailsinstance.- Parameters:
id- ID of the execution
-
configurationId
Set the configurationId of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
configurationId- ID of the configuration- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getConfigurationId
ID of the configuration- Returns:
- configurationId The configurationId of this
AiExecutionResponseWithDetailsinstance.
-
setConfigurationId
Set the configurationId of thisAiExecutionResponseWithDetailsinstance.- Parameters:
configurationId- ID of the configuration
-
configurationName
@Nonnull public AiExecutionResponseWithDetails configurationName(@Nullable String configurationName) Set the configurationName of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
configurationName- Name of the configuration- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getConfigurationName
Name of the configuration- Returns:
- configurationName The configurationName of this
AiExecutionResponseWithDetailsinstance.
-
setConfigurationName
Set the configurationName of thisAiExecutionResponseWithDetailsinstance.- Parameters:
configurationName- Name of the configuration
-
executableId
Set the executableId of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
AiExecutionResponseWithDetailsinstance.
-
setExecutableId
Set the executableId of thisAiExecutionResponseWithDetailsinstance.- Parameters:
executableId- ID of the executable
-
scenarioId
Set the scenarioId of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
AiExecutionResponseWithDetailsinstance.
-
setScenarioId
Set the scenarioId of thisAiExecutionResponseWithDetailsinstance.- Parameters:
scenarioId- ID of the scenario
-
targetStatus
@Nonnull public AiExecutionResponseWithDetails targetStatus(@Nullable AiExecutionResponseWithDetails.TargetStatusEnum targetStatus) Set the targetStatus of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
targetStatus- Target status of the execution- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getTargetStatus
Target status of the execution- Returns:
- targetStatus The targetStatus of this
AiExecutionResponseWithDetailsinstance.
-
setTargetStatus
Set the targetStatus of thisAiExecutionResponseWithDetailsinstance.- Parameters:
targetStatus- Target status of the execution
-
status
Set the status of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
status- The status of thisAiExecutionResponseWithDetails- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getStatus
Get status- Returns:
- status The status of this
AiExecutionResponseWithDetailsinstance.
-
setStatus
Set the status of thisAiExecutionResponseWithDetailsinstance.- Parameters:
status- The status of thisAiExecutionResponseWithDetails
-
statusMessage
Set the statusMessage of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
statusMessage- Execution status message- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getStatusMessage
Execution status message- Returns:
- statusMessage The statusMessage of this
AiExecutionResponseWithDetailsinstance.
-
setStatusMessage
Set the statusMessage of thisAiExecutionResponseWithDetailsinstance.- Parameters:
statusMessage- Execution status message
-
outputArtifacts
@Nonnull public AiExecutionResponseWithDetails outputArtifacts(@Nullable List<AiArtifact> outputArtifacts) Set the outputArtifacts of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
outputArtifacts- The outputArtifacts of thisAiExecutionResponseWithDetails- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
addOutputArtifactsItem
@Nonnull public AiExecutionResponseWithDetails addOutputArtifactsItem(@Nonnull AiArtifact outputArtifactsItem) Add one outputArtifacts instance to thisAiExecutionResponseWithDetails.- Parameters:
outputArtifactsItem- The outputArtifacts that should be added- Returns:
- The same instance of type
AiExecutionResponseWithDetails
-
getOutputArtifacts
Get outputArtifacts- Returns:
- outputArtifacts The outputArtifacts of this
AiExecutionResponseWithDetailsinstance.
-
setOutputArtifacts
Set the outputArtifacts of thisAiExecutionResponseWithDetailsinstance.- Parameters:
outputArtifacts- The outputArtifacts of thisAiExecutionResponseWithDetails
-
executionScheduleId
@Nonnull public AiExecutionResponseWithDetails executionScheduleId(@Nullable String executionScheduleId) Set the executionScheduleId of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
executionScheduleId- ID of the execution schedule- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getExecutionScheduleId
ID of the execution schedule- Returns:
- executionScheduleId The executionScheduleId of this
AiExecutionResponseWithDetailsinstance.
-
setExecutionScheduleId
Set the executionScheduleId of thisAiExecutionResponseWithDetailsinstance.- Parameters:
executionScheduleId- ID of the execution schedule
-
createdAt
Set the createdAt of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
AiExecutionResponseWithDetailsinstance.
-
setCreatedAt
Set the createdAt of thisAiExecutionResponseWithDetailsinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
AiExecutionResponseWithDetailsinstance.
-
setModifiedAt
Set the modifiedAt of thisAiExecutionResponseWithDetailsinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
submissionTime
@Nonnull public AiExecutionResponseWithDetails submissionTime(@Nullable OffsetDateTime submissionTime) Set the submissionTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
submissionTime- Timestamp of job submitted- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getSubmissionTime
Timestamp of job submitted- Returns:
- submissionTime The submissionTime of this
AiExecutionResponseWithDetailsinstance.
-
setSubmissionTime
Set the submissionTime of thisAiExecutionResponseWithDetailsinstance.- Parameters:
submissionTime- Timestamp of job submitted
-
startTime
Set the startTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
startTime- Timestamp of job status changed to RUNNING- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getStartTime
Timestamp of job status changed to RUNNING- Returns:
- startTime The startTime of this
AiExecutionResponseWithDetailsinstance.
-
setStartTime
Set the startTime of thisAiExecutionResponseWithDetailsinstance.- Parameters:
startTime- Timestamp of job status changed to RUNNING
-
completionTime
@Nonnull public AiExecutionResponseWithDetails completionTime(@Nullable OffsetDateTime completionTime) Set the completionTime of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
completionTime- Timestamp of job status changed to COMPLETED/DEAD/STOPPED- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getCompletionTime
Timestamp of job status changed to COMPLETED/DEAD/STOPPED- Returns:
- completionTime The completionTime of this
AiExecutionResponseWithDetailsinstance.
-
setCompletionTime
Set the completionTime of thisAiExecutionResponseWithDetailsinstance.- Parameters:
completionTime- Timestamp of job status changed to COMPLETED/DEAD/STOPPED
-
statusDetails
Set the statusDetails of thisAiExecutionResponseWithDetailsinstance and return the same instance.- Parameters:
statusDetails- Current status details of the execution- Returns:
- The same instance of this
AiExecutionResponseWithDetailsclass
-
getStatusDetails
Current status details of the execution- Returns:
- statusDetails The statusDetails of this
AiExecutionResponseWithDetailsinstance.
-
setStatusDetails
Set the statusDetails of thisAiExecutionResponseWithDetailsinstance.- Parameters:
statusDetails- Current status details of the execution
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionResponseWithDetails.- 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 thisAiExecutionResponseWithDetailsinstance.- 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 thisAiExecutionResponseWithDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionResponseWithDetailsinstance. 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 newAiExecutionResponseWithDetailsinstance with all required arguments.
-
toMap()instead.