Package com.sap.ai.sdk.core.model
Class AiExecutionScheduleCreationData
java.lang.Object
com.sap.ai.sdk.core.model.AiExecutionScheduleCreationData
Start and end an execution schedule.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for AiExecutionScheduleCreationData. -
Method Summary
Modifier and TypeMethodDescriptionconfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleCreationDatainstance and return the same instance.create()Create a type-safe, fluent-api builder object to construct a newAiExecutionScheduleCreationDatainstance with all required arguments.Set the cron of thisAiExecutionScheduleCreationDatainstance and return the same instance.end(OffsetDateTime end) Set the end of thisAiExecutionScheduleCreationDatainstance 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 theAiExecutionScheduleCreationData.getEnd()Timestamp, defining when the executions should stop runninggetName()Name of the execution schedulegetStart()Timestamp, defining when the executions should start running periodically, defaults to nowinthashCode()Set the name of thisAiExecutionScheduleCreationDatainstance and return the same instance.voidsetConfigurationId(String configurationId) Set the configurationId of thisAiExecutionScheduleCreationDatainstance.voidSet the cron of thisAiExecutionScheduleCreationDatainstance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisAiExecutionScheduleCreationDatainstance.voidsetEnd(OffsetDateTime end) Set the end of thisAiExecutionScheduleCreationDatainstance.voidSet the name of thisAiExecutionScheduleCreationDatainstance.voidsetStart(OffsetDateTime start) Set the start of thisAiExecutionScheduleCreationDatainstance.start(OffsetDateTime start) Set the start of thisAiExecutionScheduleCreationDatainstance and return the same instance.toMap()Get the value of all properties of thisAiExecutionScheduleCreationDatainstance including unrecognized properties.toString()
-
Constructor Details
-
AiExecutionScheduleCreationData
protected AiExecutionScheduleCreationData()Default constructor for AiExecutionScheduleCreationData.
-
-
Method Details
-
cron
Set the cron of thisAiExecutionScheduleCreationDatainstance and return the same instance.- Parameters:
cron- Cron defining the schedule to run the executions.- Returns:
- The same instance of this
AiExecutionScheduleCreationDataclass
-
getCron
Cron defining the schedule to run the executions.- Returns:
- cron The cron of this
AiExecutionScheduleCreationDatainstance.
-
setCron
Set the cron of thisAiExecutionScheduleCreationDatainstance.- Parameters:
cron- Cron defining the schedule to run the executions.
-
name
Set the name of thisAiExecutionScheduleCreationDatainstance and return the same instance.- Parameters:
name- Name of the execution schedule- Returns:
- The same instance of this
AiExecutionScheduleCreationDataclass
-
getName
Name of the execution schedule- Returns:
- name The name of this
AiExecutionScheduleCreationDatainstance.
-
setName
Set the name of thisAiExecutionScheduleCreationDatainstance.- Parameters:
name- Name of the execution schedule
-
configurationId
Set the configurationId of thisAiExecutionScheduleCreationDatainstance and return the same instance.- Parameters:
configurationId- ID of the configuration- Returns:
- The same instance of this
AiExecutionScheduleCreationDataclass
-
getConfigurationId
ID of the configuration- Returns:
- configurationId The configurationId of this
AiExecutionScheduleCreationDatainstance.
-
setConfigurationId
Set the configurationId of thisAiExecutionScheduleCreationDatainstance.- Parameters:
configurationId- ID of the configuration
-
start
Set the start of thisAiExecutionScheduleCreationDatainstance 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
AiExecutionScheduleCreationDataclass
-
getStart
Timestamp, defining when the executions should start running periodically, defaults to now- Returns:
- start The start of this
AiExecutionScheduleCreationDatainstance.
-
setStart
Set the start of thisAiExecutionScheduleCreationDatainstance.- Parameters:
start- Timestamp, defining when the executions should start running periodically, defaults to now
-
end
Set the end of thisAiExecutionScheduleCreationDatainstance and return the same instance.- Parameters:
end- Timestamp, defining when the executions should stop running- Returns:
- The same instance of this
AiExecutionScheduleCreationDataclass
-
getEnd
Timestamp, defining when the executions should stop running- Returns:
- end The end of this
AiExecutionScheduleCreationDatainstance.
-
setEnd
Set the end of thisAiExecutionScheduleCreationDatainstance.- Parameters:
end- Timestamp, defining when the executions should stop running
-
getCustomFieldNames
Get the names of the unrecognizable properties of theAiExecutionScheduleCreationData.- 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 thisAiExecutionScheduleCreationDatainstance.- 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 thisAiExecutionScheduleCreationDatainstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisAiExecutionScheduleCreationDatainstance. 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 newAiExecutionScheduleCreationDatainstance with all required arguments.
-
toMap()instead.