Package com.sap.ai.sdk.core.model
Class AiDeploymentCreationResponse
java.lang.Object
com.sap.ai.sdk.core.model.AiDeploymentCreationResponse
AiDeploymentCreationResponse
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiDeploymentCreationResponse. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newAiDeploymentCreationResponseinstance with all required arguments.deploymentUrl(String deploymentUrl) Set the deploymentUrl of thisAiDeploymentCreationResponseinstance and return the same instance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiDeploymentCreationResponse.Consumption URL of the deploymentgetId()Generic IDMessageGet statusgetTtl()Time to live for a deployment.inthashCode()Set the id of thisAiDeploymentCreationResponseinstance and return the same instance.Set the message of thisAiDeploymentCreationResponseinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiDeploymentCreationResponseinstance.voidsetDeploymentUrl(String deploymentUrl) Set the deploymentUrl of thisAiDeploymentCreationResponseinstance.voidSet the id of thisAiDeploymentCreationResponseinstance.voidsetMessage(String message) Set the message of thisAiDeploymentCreationResponseinstance.voidsetStatus(AiExecutionStatus status) Set the status of thisAiDeploymentCreationResponseinstance.voidSet the ttl of thisAiDeploymentCreationResponseinstance.status(AiExecutionStatus status) Set the status of thisAiDeploymentCreationResponseinstance and return the same instance.toMap()Get the value of all properties of thisAiDeploymentCreationResponseinstance including unrecognized properties.toString()Set the ttl of thisAiDeploymentCreationResponseinstance and return the same instance.
-
Constructor Details
-
AiDeploymentCreationResponse
protected AiDeploymentCreationResponse()Default constructor for AiDeploymentCreationResponse.
-
-
Method Details
-
id
Set the id of thisAiDeploymentCreationResponseinstance and return the same instance.- Parameters:
id- Generic ID- Returns:
- The same instance of this
AiDeploymentCreationResponseclass
-
getId
Generic ID- Returns:
- id The id of this
AiDeploymentCreationResponseinstance.
-
setId
Set the id of thisAiDeploymentCreationResponseinstance.- Parameters:
id- Generic ID
-
message
Set the message of thisAiDeploymentCreationResponseinstance and return the same instance.- Parameters:
message- Message- Returns:
- The same instance of this
AiDeploymentCreationResponseclass
-
getMessage
Message- Returns:
- message The message of this
AiDeploymentCreationResponseinstance.
-
setMessage
Set the message of thisAiDeploymentCreationResponseinstance.- Parameters:
message- Message
-
deploymentUrl
Set the deploymentUrl of thisAiDeploymentCreationResponseinstance and return the same instance.- Parameters:
deploymentUrl- Consumption URL of the deployment- Returns:
- The same instance of this
AiDeploymentCreationResponseclass
-
getDeploymentUrl
Consumption URL of the deployment- Returns:
- deploymentUrl The deploymentUrl of this
AiDeploymentCreationResponseinstance.
-
setDeploymentUrl
Set the deploymentUrl of thisAiDeploymentCreationResponseinstance.- Parameters:
deploymentUrl- Consumption URL of the deployment
-
status
Set the status of thisAiDeploymentCreationResponseinstance and return the same instance.- Parameters:
status- The status of thisAiDeploymentCreationResponse- Returns:
- The same instance of this
AiDeploymentCreationResponseclass
-
getStatus
Get status- Returns:
- status The status of this
AiDeploymentCreationResponseinstance.
-
setStatus
Set the status of thisAiDeploymentCreationResponseinstance.- Parameters:
status- The status of thisAiDeploymentCreationResponse
-
ttl
Set the ttl of thisAiDeploymentCreationResponseinstance 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
AiDeploymentCreationResponseclass
-
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
AiDeploymentCreationResponseinstance.
-
setTtl
Set the ttl of thisAiDeploymentCreationResponseinstance.- 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))
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiDeploymentCreationResponse.- 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 thisAiDeploymentCreationResponseinstance.- 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 thisAiDeploymentCreationResponseinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiDeploymentCreationResponseinstance. 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 newAiDeploymentCreationResponseinstance with all required arguments.
-
toMap()instead.