Package com.sap.ai.sdk.core.model
Class AiExecutionSchedule
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionSchedule
Data about execution schedule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionSchedule. -
Method Summary
Modifier and TypeMethodDescriptionconfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleinstance and return the same instance.static AiExecutionSchedule.Buildercreate()Create a type-safe, fluent-api builder object to construct a newAiExecutionScheduleinstance with all required arguments.createdAt(OffsetDateTime createdAt) Set the createdAt of thisAiExecutionScheduleinstance and return the same instance.Set the cron of thisAiExecutionScheduleinstance and return the same instance.end(OffsetDateTime end) Set the end of thisAiExecutionScheduleinstance and return the same instance.booleanID of the configurationTimestamp of resource creationgetCron()Cron defining the schedule to run the executions.getCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theAiExecutionSchedule.getEnd()Timestamp, defining when the executions should stop runninggetId()ID of the execution scheduleTimestamp of latest resource modificationgetName()Name of the execution schedulegetStart()Timestamp, defining when the executions should start running periodically, defaults to nowGet statusinthashCode()Set the id of thisAiExecutionScheduleinstance and return the same instance.modifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiExecutionScheduleinstance and return the same instance.Set the name of thisAiExecutionScheduleinstance and return the same instance.voidsetConfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleinstance.voidsetCreatedAt(OffsetDateTime createdAt) Set the createdAt of thisAiExecutionScheduleinstance.voidSet the cron of thisAiExecutionScheduleinstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionScheduleinstance.voidsetEnd(OffsetDateTime end) Set the end of thisAiExecutionScheduleinstance.voidSet the id of thisAiExecutionScheduleinstance.voidsetModifiedAt(OffsetDateTime modifiedAt) Set the modifiedAt of thisAiExecutionScheduleinstance.voidSet the name of thisAiExecutionScheduleinstance.voidsetStart(OffsetDateTime start) Set the start of thisAiExecutionScheduleinstance.voidsetStatus(AiExecutionScheduleStatus status) Set the status of thisAiExecutionScheduleinstance.start(OffsetDateTime start) Set the start of thisAiExecutionScheduleinstance and return the same instance.status(AiExecutionScheduleStatus status) Set the status of thisAiExecutionScheduleinstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionScheduleinstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionSchedule
protected AiExecutionSchedule()Default constructor for AiExecutionSchedule.
-
-
Method Details
-
cron
Set the cron of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
cron- Cron defining the schedule to run the executions.- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getCron
Cron defining the schedule to run the executions.- Returns:
- cron The cron of this
AiExecutionScheduleinstance.
-
setCron
Set the cron of thisAiExecutionScheduleinstance.- Parameters:
cron- Cron defining the schedule to run the executions.
-
name
Set the name of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
name- Name of the execution schedule- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getName
Name of the execution schedule- Returns:
- name The name of this
AiExecutionScheduleinstance.
-
setName
Set the name of thisAiExecutionScheduleinstance.- Parameters:
name- Name of the execution schedule
-
configurationId
Set the configurationId of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
configurationId- ID of the configuration- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getConfigurationId
ID of the configuration- Returns:
- configurationId The configurationId of this
AiExecutionScheduleinstance.
-
setConfigurationId
Set the configurationId of thisAiExecutionScheduleinstance.- Parameters:
configurationId- ID of the configuration
-
start
Set the start of thisAiExecutionScheduleinstance 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
AiExecutionScheduleclass
-
getStart
Timestamp, defining when the executions should start running periodically, defaults to now- Returns:
- start The start of this
AiExecutionScheduleinstance.
-
setStart
Set the start of thisAiExecutionScheduleinstance.- Parameters:
start- Timestamp, defining when the executions should start running periodically, defaults to now
-
end
Set the end of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
end- Timestamp, defining when the executions should stop running- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getEnd
Timestamp, defining when the executions should stop running- Returns:
- end The end of this
AiExecutionScheduleinstance.
-
setEnd
Set the end of thisAiExecutionScheduleinstance.- Parameters:
end- Timestamp, defining when the executions should stop running
-
id
Set the id of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
id- ID of the execution schedule- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getId
ID of the execution schedule- Returns:
- id The id of this
AiExecutionScheduleinstance.
-
setId
Set the id of thisAiExecutionScheduleinstance.- Parameters:
id- ID of the execution schedule
-
status
Set the status of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
status- The status of thisAiExecutionSchedule- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getStatus
Get status- Returns:
- status The status of this
AiExecutionScheduleinstance.
-
setStatus
Set the status of thisAiExecutionScheduleinstance.- Parameters:
status- The status of thisAiExecutionSchedule
-
createdAt
Set the createdAt of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
createdAt- Timestamp of resource creation- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getCreatedAt
Timestamp of resource creation- Returns:
- createdAt The createdAt of this
AiExecutionScheduleinstance.
-
setCreatedAt
Set the createdAt of thisAiExecutionScheduleinstance.- Parameters:
createdAt- Timestamp of resource creation
-
modifiedAt
Set the modifiedAt of thisAiExecutionScheduleinstance and return the same instance.- Parameters:
modifiedAt- Timestamp of latest resource modification- Returns:
- The same instance of this
AiExecutionScheduleclass
-
getModifiedAt
Timestamp of latest resource modification- Returns:
- modifiedAt The modifiedAt of this
AiExecutionScheduleinstance.
-
setModifiedAt
Set the modifiedAt of thisAiExecutionScheduleinstance.- Parameters:
modifiedAt- Timestamp of latest resource modification
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionSchedule.- 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 thisAiExecutionScheduleinstance.- 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 thisAiExecutionScheduleinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionScheduleinstance. 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 newAiExecutionScheduleinstance with all required arguments.
-
toMap()instead.