Package com.sap.ai.sdk.core.model
Class RTADeployment
java.lang.Object
com.sap.ai.sdk.core.model.RTADeployment
Detailed data about an inference-pipeline deployment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumReflection of user's action on deployment.static enumDeployment status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RTADeployment.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRTADeploymentinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisRTADeploymentinstance and return the same instance.deploymentUrl(String deploymentUrl) Set the deploymentUrl of thisRTADeploymentinstance and return the same instance.booleanexecutableId(String executableId) Set the executableId of thisRTADeploymentinstance and return the same instance.Timestamp of resource creationgetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRTADeployment.Consumption URL of the pipeline deploymentID of the executablegetId()ID of the deploymentReflection of user's action on deployment.Target ID of the latest running deploymentTimestamp of latest resource modificationID of the scenarioDeployment statusDeployment status messageClient provided reference, with which the status of a PATCHed deployment can be trackedgetTtl()TTL value of deploymentinthashCode()Set the id of thisRTADeploymentinstance and return the same instance.lastOperation(RTADeployment.LastOperationEnum lastOperation) Set the lastOperation of thisRTADeploymentinstance and return the same instance.latestRunningTargetId(String latestRunningTargetId) Set the latestRunningTargetId of thisRTADeploymentinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTADeploymentinstance and return the same instance.scenarioId(String scenarioId) Set the scenarioId of thisRTADeploymentinstance and return the same instance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisRTADeploymentinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRTADeploymentinstance.voidsetDeploymentUrl(String deploymentUrl) Set the deploymentUrl of thisRTADeploymentinstance.voidsetExecutableId(String executableId) Set the executableId of thisRTADeploymentinstance.voidSet the id of thisRTADeploymentinstance.voidsetLastOperation(RTADeployment.LastOperationEnum lastOperation) Set the lastOperation of thisRTADeploymentinstance.voidsetLatestRunningTargetId(String latestRunningTargetId) Set the latestRunningTargetId of thisRTADeploymentinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisRTADeploymentinstance.voidsetScenarioId(String scenarioId) Set the scenarioId of thisRTADeploymentinstance.voidsetStatus(RTADeployment.StatusEnum status) Set the status of thisRTADeploymentinstance.voidsetStatusMessage(String statusMessage) Set the statusMessage of thisRTADeploymentinstance.voidsetTargetId(String targetId) Set the targetId of thisRTADeploymentinstance.voidSet the ttl of thisRTADeploymentinstance.status(RTADeployment.StatusEnum status) Set the status of thisRTADeploymentinstance and return the same instance.statusMessage(String statusMessage) Set the statusMessage of thisRTADeploymentinstance and return the same instance.Set the targetId of thisRTADeploymentinstance and return the same instance.toMap()Get the value of all properties of thisRTADeploymentinstance including unrecognized properties.toString()Set the ttl of thisRTADeploymentinstance and return the same instance.
-
Constructor Details
-
RTADeployment
protected RTADeployment()Default constructor for RTADeployment.
-
-
Method Details
-
scenarioId
Set the scenarioId of thisRTADeploymentinstance and return the same instance.- Parameters:
scenarioId- ID of the scenario- Returns:
- The same instance of this
RTADeploymentclass
-
getScenarioId
ID of the scenario- Returns:
- scenarioId The scenarioId of this
RTADeploymentinstance.
-
setScenarioId
Set the scenarioId of thisRTADeploymentinstance.- Parameters:
scenarioId- ID of the scenario
-
executableId
Set the executableId of thisRTADeploymentinstance and return the same instance.- Parameters:
executableId- ID of the executable- Returns:
- The same instance of this
RTADeploymentclass
-
getExecutableId
ID of the executable- Returns:
- executableId The executableId of this
RTADeploymentinstance.
-
setExecutableId
Set the executableId of thisRTADeploymentinstance.- Parameters:
executableId- ID of the executable
-
id
Set the id of thisRTADeploymentinstance and return the same instance.- Parameters:
id- ID of the deployment- Returns:
- The same instance of this
RTADeploymentclass
-
getId
ID of the deployment- Returns:
- id The id of this
RTADeploymentinstance.
-
setId
Set the id of thisRTADeploymentinstance.- Parameters:
id- ID of the deployment
-
deploymentUrl
Set the deploymentUrl of thisRTADeploymentinstance and return the same instance.- Parameters:
deploymentUrl- Consumption URL of the pipeline deployment- Returns:
- The same instance of this
RTADeploymentclass
-
getDeploymentUrl
Consumption URL of the pipeline deployment- Returns:
- deploymentUrl The deploymentUrl of this
RTADeploymentinstance.
-
setDeploymentUrl
Set the deploymentUrl of thisRTADeploymentinstance.- Parameters:
deploymentUrl- Consumption URL of the pipeline deployment
-
latestRunningTargetId
Set the latestRunningTargetId of thisRTADeploymentinstance and return the same instance.- Parameters:
latestRunningTargetId- Target ID of the latest running deployment- Returns:
- The same instance of this
RTADeploymentclass
-
getLatestRunningTargetId
Target ID of the latest running deployment- Returns:
- latestRunningTargetId The latestRunningTargetId of this
RTADeploymentinstance.
-
setLatestRunningTargetId
Set the latestRunningTargetId of thisRTADeploymentinstance.- Parameters:
latestRunningTargetId- Target ID of the latest running deployment
-
targetId
Set the targetId of thisRTADeploymentinstance and return the same instance.- Parameters:
targetId- Client provided reference, with which the status of a PATCHed deployment can be tracked- Returns:
- The same instance of this
RTADeploymentclass
-
getTargetId
Client provided reference, with which the status of a PATCHed deployment can be tracked- Returns:
- targetId The targetId of this
RTADeploymentinstance.
-
setTargetId
Set the targetId of thisRTADeploymentinstance.- Parameters:
targetId- Client provided reference, with which the status of a PATCHed deployment can be tracked
-
ttl
Set the ttl of thisRTADeploymentinstance and return the same instance.- Parameters:
ttl- TTL value of deployment- Returns:
- The same instance of this
RTADeploymentclass
-
getTtl
TTL value of deployment- Returns:
- ttl The ttl of this
RTADeploymentinstance.
-
setTtl
Set the ttl of thisRTADeploymentinstance.- Parameters:
ttl- TTL value of deployment
-
status
Set the status of thisRTADeploymentinstance and return the same instance.- Parameters:
status- Deployment status- Returns:
- The same instance of this
RTADeploymentclass
-
getStatus
Deployment status- Returns:
- status The status of this
RTADeploymentinstance.
-
setStatus
Set the status of thisRTADeploymentinstance.- Parameters:
status- Deployment status
-
statusMessage
Set the statusMessage of thisRTADeploymentinstance and return the same instance.- Parameters:
statusMessage- Deployment status message- Returns:
- The same instance of this
RTADeploymentclass
-
getStatusMessage
Deployment status message- Returns:
- statusMessage The statusMessage of this
RTADeploymentinstance.
-
setStatusMessage
Set the statusMessage of thisRTADeploymentinstance.- Parameters:
statusMessage- Deployment status message
-
lastOperation
@Nonnull public RTADeployment lastOperation(@Nullable RTADeployment.LastOperationEnum lastOperation) Set the lastOperation of thisRTADeploymentinstance and return the same instance.- Parameters:
lastOperation- Reflection of user's action on deployment. The value will be CREATE after user sends POST - create deployment, UPDATE after user sends PATCH - update deployment, and DELETE after user sends DELETE - delete deployment- Returns:
- The same instance of this
RTADeploymentclass
-
getLastOperation
Reflection of user's action on deployment. The value will be CREATE after user sends POST - create deployment, UPDATE after user sends PATCH - update deployment, and DELETE after user sends DELETE - delete deployment- Returns:
- lastOperation The lastOperation of this
RTADeploymentinstance.
-
setLastOperation
Set the lastOperation of thisRTADeploymentinstance.- Parameters:
lastOperation- Reflection of user's action on deployment. The value will be CREATE after user sends POST - create deployment, UPDATE after user sends PATCH - update deployment, and DELETE after user sends DELETE - delete deployment
-
createdAt
Set the createdAt of thisRTADeploymentinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
RTADeploymentclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
RTADeploymentinstance.
-
setCreatedAt
Set the createdAt of thisRTADeploymentinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisRTADeploymentinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
RTADeploymentclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
RTADeploymentinstance.
-
setModifiedAt
Set the modifiedAt of thisRTADeploymentinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRTADeployment.- 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 thisRTADeploymentinstance.- 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 thisRTADeploymentinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRTADeploymentinstance. 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 newRTADeploymentinstance with all required arguments.
-
toMap()instead.