Package com.sap.ai.sdk.core.model
Class AiDeploymentResponseWithDetails
java.lang.Object
com.sap.ai.sdk.core.model.AiDeploymentResponseWithDetails
Detail properties of the deployment
-
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 enumGets or Sets lastOperationstatic enumDeployment target status -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiDeploymentResponseWithDetails. -
Method Summary
Modifier and TypeMethodDescriptioncompletionTime(OffsetDateTime completionTime) Set the completionTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.configurationId(String configurationId) Set the configurationId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.configurationName(String configurationName) Set the configurationName of thisAiDeploymentResponseWithDetailsinstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newAiDeploymentResponseWithDetailsinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisAiDeploymentResponseWithDetailsinstance and return the same instance.deploymentUrl(String deploymentUrl) Set the deploymentUrl of thisAiDeploymentResponseWithDetailsinstance and return the same instance.details(AiDeploymentDetails details) Set the details of thisAiDeploymentResponseWithDetailsinstance and return the same instance.booleanexecutableId(String executableId) Set the executableId of thisAiDeploymentResponseWithDetailsinstance 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 theAiDeploymentResponseWithDetails.Consumption URL of the deploymentGet detailsID of the executablegetId()ID of the deploymentGet lastOperationconfigurationId that was running before a PATCH operation has modified the configurationId of the deployment.Timestamp of latest resource modificationID of the scenarioTimestamp of job status changed to RUNNINGGet statusCurrent status details of the deploymentDeployment status messageTimestamp of job submittedDeployment target statusgetTtl()Time to live for a deployment.inthashCode()Set the id of thisAiDeploymentResponseWithDetailsinstance and return the same instance.lastOperation(AiDeploymentResponseWithDetails.LastOperationEnum lastOperation) Set the lastOperation of thisAiDeploymentResponseWithDetailsinstance and return the same instance.latestRunningConfigurationId(String latestRunningConfigurationId) Set the latestRunningConfigurationId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiDeploymentResponseWithDetailsinstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.voidsetCompletionTime(OffsetDateTime completionTime) Set the completionTime of thisAiDeploymentResponseWithDetailsinstance.voidsetConfigurationId(String configurationId) Set the configurationId of thisAiDeploymentResponseWithDetailsinstance.voidsetConfigurationName(String configurationName) Set the configurationName of thisAiDeploymentResponseWithDetailsinstance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisAiDeploymentResponseWithDetailsinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiDeploymentResponseWithDetailsinstance.voidsetDeploymentUrl(String deploymentUrl) Set the deploymentUrl of thisAiDeploymentResponseWithDetailsinstance.voidsetDetails(AiDeploymentDetails details) Set the details of thisAiDeploymentResponseWithDetailsinstance.voidsetExecutableId(String executableId) Set the executableId of thisAiDeploymentResponseWithDetailsinstance.voidSet the id of thisAiDeploymentResponseWithDetailsinstance.voidSet the lastOperation of thisAiDeploymentResponseWithDetailsinstance.voidsetLatestRunningConfigurationId(String latestRunningConfigurationId) Set the latestRunningConfigurationId of thisAiDeploymentResponseWithDetailsinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiDeploymentResponseWithDetailsinstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisAiDeploymentResponseWithDetailsinstance.voidsetStartTime(OffsetDateTime startTime) Set the startTime of thisAiDeploymentResponseWithDetailsinstance.voidsetStatus(AiDeploymentStatus status) Set the status of thisAiDeploymentResponseWithDetailsinstance.voidsetStatusDetails(Object statusDetails) Set the statusDetails of thisAiDeploymentResponseWithDetailsinstance.voidsetStatusMessage(String statusMessage) Set the statusMessage of thisAiDeploymentResponseWithDetailsinstance.voidsetSubmissionTime(OffsetDateTime submissionTime) Set the submissionTime of thisAiDeploymentResponseWithDetailsinstance.voidSet the targetStatus of thisAiDeploymentResponseWithDetailsinstance.voidSet the ttl of thisAiDeploymentResponseWithDetailsinstance.startTime(OffsetDateTime startTime) Set the startTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.status(AiDeploymentStatus status) Set the status of thisAiDeploymentResponseWithDetailsinstance and return the same instance.statusDetails(Object statusDetails) Set the statusDetails of thisAiDeploymentResponseWithDetailsinstance and return the same instance.statusMessage(String statusMessage) Set the statusMessage of thisAiDeploymentResponseWithDetailsinstance and return the same instance.submissionTime(OffsetDateTime submissionTime) Set the submissionTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.targetStatus(AiDeploymentResponseWithDetails.TargetStatusEnum targetStatus) Set the targetStatus of thisAiDeploymentResponseWithDetailsinstance and return the same instance.toMap()Get the value of all properties of thisAiDeploymentResponseWithDetailsinstance including unrecognized properties.toString()Set the ttl of thisAiDeploymentResponseWithDetailsinstance and return the same instance.
-
Constructor Details
-
AiDeploymentResponseWithDetails
protected AiDeploymentResponseWithDetails()Default constructor for AiDeploymentResponseWithDetails.
-
-
Method Details
-
id
Set the id of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
id- ID of the deployment- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getId
ID of the deployment- Returns:
- id The id of this
AiDeploymentResponseWithDetailsinstance.
-
setId
Set the id of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
id- ID of the deployment
-
deploymentUrl
Set the deploymentUrl of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
deploymentUrl- Consumption URL of the deployment- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getDeploymentUrl
Consumption URL of the deployment- Returns:
- deploymentUrl The deploymentUrl of this
AiDeploymentResponseWithDetailsinstance.
-
setDeploymentUrl
Set the deploymentUrl of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
deploymentUrl- Consumption URL of the deployment
-
configurationId
Set the configurationId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
configurationId- ID of the configuration- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getConfigurationId
ID of the configuration- Returns:
- configurationId The configurationId of this
AiDeploymentResponseWithDetailsinstance.
-
setConfigurationId
Set the configurationId of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
configurationId- ID of the configuration
-
configurationName
@Nonnull public AiDeploymentResponseWithDetails configurationName(@Nullable String configurationName) Set the configurationName of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
configurationName- Name of the configuration- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getConfigurationName
Name of the configuration- Returns:
- configurationName The configurationName of this
AiDeploymentResponseWithDetailsinstance.
-
setConfigurationName
Set the configurationName of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
configurationName- Name of the configuration
-
executableId
Set the executableId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
AiDeploymentResponseWithDetailsinstance.
-
setExecutableId
Set the executableId of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
executableId- ID of the executable
-
scenarioId
Set the scenarioId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
AiDeploymentResponseWithDetailsinstance.
-
setScenarioId
Set the scenarioId of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
scenarioId- ID of the scenario
-
status
Set the status of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
status- The status of thisAiDeploymentResponseWithDetails- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getStatus
Get status- Returns:
- status The status of this
AiDeploymentResponseWithDetailsinstance.
-
setStatus
Set the status of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
status- The status of thisAiDeploymentResponseWithDetails
-
statusMessage
Set the statusMessage of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
statusMessage- Deployment status message- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getStatusMessage
Deployment status message- Returns:
- statusMessage The statusMessage of this
AiDeploymentResponseWithDetailsinstance.
-
setStatusMessage
Set the statusMessage of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
statusMessage- Deployment status message
-
targetStatus
@Nonnull public AiDeploymentResponseWithDetails targetStatus(@Nullable AiDeploymentResponseWithDetails.TargetStatusEnum targetStatus) Set the targetStatus of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
targetStatus- Deployment target status- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getTargetStatus
Deployment target status- Returns:
- targetStatus The targetStatus of this
AiDeploymentResponseWithDetailsinstance.
-
setTargetStatus
public void setTargetStatus(@Nullable AiDeploymentResponseWithDetails.TargetStatusEnum targetStatus) Set the targetStatus of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
targetStatus- Deployment target status
-
lastOperation
@Nonnull public AiDeploymentResponseWithDetails lastOperation(@Nullable AiDeploymentResponseWithDetails.LastOperationEnum lastOperation) Set the lastOperation of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
lastOperation- The lastOperation of thisAiDeploymentResponseWithDetails- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getLastOperation
Get lastOperation- Returns:
- lastOperation The lastOperation of this
AiDeploymentResponseWithDetailsinstance.
-
setLastOperation
public void setLastOperation(@Nullable AiDeploymentResponseWithDetails.LastOperationEnum lastOperation) Set the lastOperation of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
lastOperation- The lastOperation of thisAiDeploymentResponseWithDetails
-
latestRunningConfigurationId
@Nonnull public AiDeploymentResponseWithDetails latestRunningConfigurationId(@Nullable String latestRunningConfigurationId) Set the latestRunningConfigurationId of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
latestRunningConfigurationId- configurationId that was running before a PATCH operation has modified the configurationId of the deployment. This can be used for a manual rollback in case the new configurationId results in a DEAD deployment- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getLatestRunningConfigurationId
configurationId that was running before a PATCH operation has modified the configurationId of the deployment. This can be used for a manual rollback in case the new configurationId results in a DEAD deployment- Returns:
- latestRunningConfigurationId The latestRunningConfigurationId of this
AiDeploymentResponseWithDetailsinstance.
-
setLatestRunningConfigurationId
Set the latestRunningConfigurationId of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
latestRunningConfigurationId- configurationId that was running before a PATCH operation has modified the configurationId of the deployment. This can be used for a manual rollback in case the new configurationId results in a DEAD deployment
-
ttl
Set the ttl of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
ttl- Time to live for a deployment. Its value can be either null or a number followed by the unit (any of following values, minutes(m|M), hours(h|H) or days(d|D))- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getTtl
Time to live for a deployment. Its value can be either null or a number followed by the unit (any of following values, minutes(m|M), hours(h|H) or days(d|D))- Returns:
- ttl The ttl of this
AiDeploymentResponseWithDetailsinstance.
-
setTtl
Set the ttl of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
ttl- Time to live for a deployment. Its value can be either null or a number followed by the unit (any of following values, minutes(m|M), hours(h|H) or days(d|D))
-
details
Set the details of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
details- The details of thisAiDeploymentResponseWithDetails- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getDetails
Get details- Returns:
- details The details of this
AiDeploymentResponseWithDetailsinstance.
-
setDetails
Set the details of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
details- The details of thisAiDeploymentResponseWithDetails
-
createdAt
Set the createdAt of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
AiDeploymentResponseWithDetailsinstance.
-
setCreatedAt
Set the createdAt of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
AiDeploymentResponseWithDetailsinstance.
-
setModifiedAt
Set the modifiedAt of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
submissionTime
@Nonnull public AiDeploymentResponseWithDetails submissionTime(@Nullable OffsetDateTime submissionTime) Set the submissionTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
submissionTime- Timestamp of job submitted- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getSubmissionTime
Timestamp of job submitted- Returns:
- submissionTime The submissionTime of this
AiDeploymentResponseWithDetailsinstance.
-
setSubmissionTime
Set the submissionTime of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
submissionTime- Timestamp of job submitted
-
startTime
Set the startTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
startTime- Timestamp of job status changed to RUNNING- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getStartTime
Timestamp of job status changed to RUNNING- Returns:
- startTime The startTime of this
AiDeploymentResponseWithDetailsinstance.
-
setStartTime
Set the startTime of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
startTime- Timestamp of job status changed to RUNNING
-
completionTime
@Nonnull public AiDeploymentResponseWithDetails completionTime(@Nullable OffsetDateTime completionTime) Set the completionTime of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
completionTime- Timestamp of job status changed to COMPLETED/DEAD/STOPPED- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getCompletionTime
Timestamp of job status changed to COMPLETED/DEAD/STOPPED- Returns:
- completionTime The completionTime of this
AiDeploymentResponseWithDetailsinstance.
-
setCompletionTime
Set the completionTime of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
completionTime- Timestamp of job status changed to COMPLETED/DEAD/STOPPED
-
statusDetails
Set the statusDetails of thisAiDeploymentResponseWithDetailsinstance and return the same instance.- Parameters:
statusDetails- Current status details of the deployment- Returns:
- The same instance of this
AiDeploymentResponseWithDetailsclass
-
getStatusDetails
Current status details of the deployment- Returns:
- statusDetails The statusDetails of this
AiDeploymentResponseWithDetailsinstance.
-
setStatusDetails
Set the statusDetails of thisAiDeploymentResponseWithDetailsinstance.- Parameters:
statusDetails- Current status details of the deployment
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiDeploymentResponseWithDetails.- 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 thisAiDeploymentResponseWithDetailsinstance.- 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 thisAiDeploymentResponseWithDetailsinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiDeploymentResponseWithDetailsinstance. 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 newAiDeploymentResponseWithDetailsinstance with all required arguments.
-
toMap()instead.