Package com.sap.ai.sdk.core.model
Class AiExecutionModificationRequest
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionModificationRequest
Request object for changing the target status of an execution (currently only STOPPED is
supported)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static enumDesired target status of the execution (currently only STOPPED is supported) -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionModificationRequest. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Create a type-safe, fluent-api builder object to construct a newAiExecutionModificationRequestinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionModificationRequest.Desired target status of the execution (currently only STOPPED is supported)inthashCode()voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionModificationRequestinstance.voidSet the targetStatus of thisAiExecutionModificationRequestinstance.targetStatus(AiExecutionModificationRequest.TargetStatusEnum targetStatus) Set the targetStatus of thisAiExecutionModificationRequestinstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionModificationRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionModificationRequest
protected AiExecutionModificationRequest()Default constructor for AiExecutionModificationRequest.
-
-
Method Details
-
targetStatus
@Nonnull public AiExecutionModificationRequest targetStatus(@Nonnull AiExecutionModificationRequest.TargetStatusEnum targetStatus) Set the targetStatus of thisAiExecutionModificationRequestinstance and return the same instance.- Parameters:
targetStatus- Desired target status of the execution (currently only STOPPED is supported)- Returns:
- The same instance of this
AiExecutionModificationRequestclass
-
getTargetStatus
Desired target status of the execution (currently only STOPPED is supported)- Returns:
- targetStatus The targetStatus of this
AiExecutionModificationRequestinstance.
-
setTargetStatus
Set the targetStatus of thisAiExecutionModificationRequestinstance.- Parameters:
targetStatus- Desired target status of the execution (currently only STOPPED is supported)
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionModificationRequest.- 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 thisAiExecutionModificationRequestinstance.- 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 thisAiExecutionModificationRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionModificationRequestinstance. 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 newAiExecutionModificationRequestinstance with all required arguments.
-
toMap()instead.