Package com.oracle.bmc.datascience.model
Class Schedule.Builder
- java.lang.Object
- 
- com.oracle.bmc.datascience.model.Schedule.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Schedule.Builderaction(ScheduleAction action)Schedulebuild()Schedule.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the schedule.Schedule.Buildercopy(Schedule model)Schedule.BuildercreatedBy(String createdBy)The OCID of the user who created the schedule.Schedule.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Schedule.Builderdescription(String description)A short description of the schedule.Schedule.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Schedule.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Schedule.Builderid(String id)The OCID of the schedule.Schedule.BuilderlastScheduleRunDetails(String lastScheduleRunDetails)Details about the action performed by the last schedule execution.Schedule.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Schedule.BuilderlifecycleState(ScheduleLifecycleState lifecycleState)The current state of the schedule.Schedule.BuilderlogDetails(ScheduleLogDetails logDetails)Schedule.BuilderprojectId(String projectId)The OCID of the project associated with the schedule.Schedule.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Schedule.BuildertimeCreated(Date timeCreated)The date and time the schedule was created.Schedule.BuildertimeLastScheduleRun(Date timeLastScheduleRun)The last schedule execution time.Schedule.BuildertimeNextScheduledRun(Date timeNextScheduledRun)The next scheduled execution time for the schedule.Schedule.BuildertimeUpdated(Date timeUpdated)The date and time the schedule was updated.Schedule.Buildertrigger(ScheduleTrigger trigger)
 
- 
- 
- 
Method Detail- 
idpublic Schedule.Builder id(String id) The OCID of the schedule.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Schedule.Builder compartmentId(String compartmentId) The OCID of the compartment where you want to create the schedule.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic Schedule.Builder projectId(String projectId) The OCID of the project associated with the schedule.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Schedule.Builder displayName(String displayName) A user-friendly display name for the resource.Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Schedule.Builder description(String description) A short description of the schedule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
timeLastScheduleRunpublic Schedule.Builder timeLastScheduleRun(Date timeLastScheduleRun) The last schedule execution time.Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z - Parameters:
- timeLastScheduleRun- the value to set
- Returns:
- this builder
 
 - 
timeNextScheduledRunpublic Schedule.Builder timeNextScheduledRun(Date timeNextScheduledRun) The next scheduled execution time for the schedule.Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z - Parameters:
- timeNextScheduledRun- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Schedule.Builder timeCreated(Date timeCreated) The date and time the schedule was created.Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Schedule.Builder timeUpdated(Date timeUpdated) The date and time the schedule was updated.Format is defined by RFC3339. Example: 2022-09-05T01:02:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
createdBypublic Schedule.Builder createdBy(String createdBy) The OCID of the user who created the schedule.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Schedule.Builder lifecycleState(ScheduleLifecycleState lifecycleState) The current state of the schedule.Example: ACTIVE - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Schedule.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lastScheduleRunDetailspublic Schedule.Builder lastScheduleRunDetails(String lastScheduleRunDetails) Details about the action performed by the last schedule execution.Example: Invoked ML Application trigger. - Parameters:
- lastScheduleRunDetails- the value to set
- Returns:
- this builder
 
 - 
triggerpublic Schedule.Builder trigger(ScheduleTrigger trigger) 
 - 
actionpublic Schedule.Builder action(ScheduleAction action) 
 - 
logDetailspublic Schedule.Builder logDetails(ScheduleLogDetails logDetails) 
 - 
freeformTagspublic Schedule.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic Schedule.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic Schedule.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Schedule build() 
 - 
copypublic Schedule.Builder copy(Schedule model) 
 
- 
 
-