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