Package com.sap.ai.sdk.core.model
Class AiExecutionScheduleModificationRequest
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionScheduleModificationRequest
Request object for changing the execution schedule
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionScheduleModificationRequest. -
Method Summary
Modifier and TypeMethodDescriptionconfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleModificationRequestinstance and return the same instance.create()Create a newAiExecutionScheduleModificationRequestinstance.Set the cron of thisAiExecutionScheduleModificationRequestinstance and return the same instance.end(OffsetDateTime end) Set the end of thisAiExecutionScheduleModificationRequestinstance and return the same instance.booleanID of the configurationgetCron()Cron defining the schedule to run the executions.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionScheduleModificationRequest.getEnd()Timestamp, defining when the executions should stop runninggetStart()Timestamp, defining when the executions should start running periodically, defaults to nowGet statusinthashCode()voidsetConfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleModificationRequestinstance.voidSet the cron of thisAiExecutionScheduleModificationRequestinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionScheduleModificationRequestinstance.voidsetEnd(OffsetDateTime end) Set the end of thisAiExecutionScheduleModificationRequestinstance.voidsetStart(OffsetDateTime start) Set the start of thisAiExecutionScheduleModificationRequestinstance.voidsetStatus(AiExecutionScheduleStatus status) Set the status of thisAiExecutionScheduleModificationRequestinstance.start(OffsetDateTime start) Set the start of thisAiExecutionScheduleModificationRequestinstance and return the same instance.status(AiExecutionScheduleStatus status) Set the status of thisAiExecutionScheduleModificationRequestinstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionScheduleModificationRequestinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionScheduleModificationRequest
protected AiExecutionScheduleModificationRequest()Default constructor for AiExecutionScheduleModificationRequest.
-
-
Method Details
-
cron
Set the cron of thisAiExecutionScheduleModificationRequestinstance and return the same instance.- Parameters:
cron- Cron defining the schedule to run the executions.- Returns:
- The same instance of this
AiExecutionScheduleModificationRequestclass
-
getCron
Cron defining the schedule to run the executions.- Returns:
- cron The cron of this
AiExecutionScheduleModificationRequestinstance.
-
setCron
Set the cron of thisAiExecutionScheduleModificationRequestinstance.- Parameters:
cron- Cron defining the schedule to run the executions.
-
start
Set the start of thisAiExecutionScheduleModificationRequestinstance and return the same instance.- Parameters:
start- Timestamp, defining when the executions should start running periodically, defaults to now- Returns:
- The same instance of this
AiExecutionScheduleModificationRequestclass
-
getStart
Timestamp, defining when the executions should start running periodically, defaults to now- Returns:
- start The start of this
AiExecutionScheduleModificationRequestinstance.
-
setStart
Set the start of thisAiExecutionScheduleModificationRequestinstance.- Parameters:
start- Timestamp, defining when the executions should start running periodically, defaults to now
-
end
Set the end of thisAiExecutionScheduleModificationRequestinstance and return the same instance.- Parameters:
end- Timestamp, defining when the executions should stop running- Returns:
- The same instance of this
AiExecutionScheduleModificationRequestclass
-
getEnd
Timestamp, defining when the executions should stop running- Returns:
- end The end of this
AiExecutionScheduleModificationRequestinstance.
-
setEnd
Set the end of thisAiExecutionScheduleModificationRequestinstance.- Parameters:
end- Timestamp, defining when the executions should stop running
-
configurationId
@Nonnull public AiExecutionScheduleModificationRequest configurationId(@Nullable String configurationId) Set the configurationId of thisAiExecutionScheduleModificationRequestinstance and return the same instance.- Parameters:
configurationId- ID of the configuration- Returns:
- The same instance of this
AiExecutionScheduleModificationRequestclass
-
getConfigurationId
ID of the configuration- Returns:
- configurationId The configurationId of this
AiExecutionScheduleModificationRequestinstance.
-
setConfigurationId
Set the configurationId of thisAiExecutionScheduleModificationRequestinstance.- Parameters:
configurationId- ID of the configuration
-
status
@Nonnull public AiExecutionScheduleModificationRequest status(@Nullable AiExecutionScheduleStatus status) Set the status of thisAiExecutionScheduleModificationRequestinstance and return the same instance.- Parameters:
status- The status of thisAiExecutionScheduleModificationRequest- Returns:
- The same instance of this
AiExecutionScheduleModificationRequestclass
-
getStatus
Get status- Returns:
- status The status of this
AiExecutionScheduleModificationRequestinstance.
-
setStatus
Set the status of thisAiExecutionScheduleModificationRequestinstance.- Parameters:
status- The status of thisAiExecutionScheduleModificationRequest
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionScheduleModificationRequest.- 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 thisAiExecutionScheduleModificationRequestinstance.- 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 thisAiExecutionScheduleModificationRequestinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionScheduleModificationRequestinstance. 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 newAiExecutionScheduleModificationRequestinstance. No arguments are required.
-
toMap()instead.