Package com.oracle.bmc.datascience.model
Class Schedule.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.Schedule.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public Schedule.Builder id(String id)
The OCID of the schedule.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
projectId
public Schedule.Builder projectId(String projectId)
The OCID of the project associated with the schedule.- Parameters:
projectId- the value to set- Returns:
- this builder
-
displayName
public 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
-
description
public Schedule.Builder description(String description)
A short description of the schedule.- Parameters:
description- the value to set- Returns:
- this builder
-
timeLastScheduleRun
public 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
-
timeNextScheduledRun
public 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
-
timeCreated
public 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
-
timeUpdated
public 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
-
createdBy
public Schedule.Builder createdBy(String createdBy)
The OCID of the user who created the schedule.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
lifecycleState
public Schedule.Builder lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule.Example: ACTIVE
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public Schedule.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lastScheduleRunDetails
public 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
-
trigger
public Schedule.Builder trigger(ScheduleTrigger trigger)
-
action
public Schedule.Builder action(ScheduleAction action)
-
logDetails
public Schedule.Builder logDetails(ScheduleLogDetails logDetails)
-
freeformTags
public 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
-
definedTags
public 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
-
systemTags
public 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
-
build
public Schedule build()
-
copy
public Schedule.Builder copy(Schedule model)
-
-