Class ScheduleSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcescheduler.model.ScheduleSummary.Builder
 
- 
- Enclosing class:
- ScheduleSummary
 
 public static class ScheduleSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleSummary.Builderaction(ScheduleSummary.Action action)This is the action that will be executed by the schedule.ScheduleSummarybuild()ScheduleSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the schedule is createdScheduleSummary.Buildercopy(ScheduleSummary model)ScheduleSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)These are defined tags for this resource.ScheduleSummary.Builderdescription(String description)This is the description of the schedule.ScheduleSummary.BuilderdisplayName(String displayName)This is a user-friendly name for the schedule.ScheduleSummary.BuilderfreeformTags(Map<String,String> freeformTags)These are free-form tags for this resource.ScheduleSummary.Builderid(String id)The OCID of the scheduleScheduleSummary.BuilderlastRunStatus(OperationStatus lastRunStatus)This is the status of the last work request.ScheduleSummary.BuilderlifecycleState(Schedule.LifecycleState lifecycleState)This is the current state of the schedule.ScheduleSummary.BuilderrecurrenceDetails(String recurrenceDetails)This is the frequency of recurrence of a schedule.ScheduleSummary.BuilderrecurrenceType(ScheduleSummary.RecurrenceType recurrenceType)Type of recurrence of a scheduleScheduleSummary.BuilderresourceFilters(List<ResourceFilter> resourceFilters)This is a list of resources filters.ScheduleSummary.Builderresources(List<Resource> resources)This is the list of resources to which the scheduled operation is applied.ScheduleSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)These are system tags for this resource.ScheduleSummary.BuildertimeCreated(Date timeCreated)This is the date and time the schedule was created, in the format defined by RFC 3339.ScheduleSummary.BuildertimeEnds(Date timeEnds)This is the date and time the schedule ends, in the format defined by RFC 3339ScheduleSummary.BuildertimeLastRun(Date timeLastRun)This is the date and time the schedule runs last time, in the format defined by RFC 3339.ScheduleSummary.BuildertimeNextRun(Date timeNextRun)This is the date and time the schedule run the next time, in the format defined by RFC 3339.ScheduleSummary.BuildertimeStarts(Date timeStarts)This is the date and time the schedule starts, in the format defined by RFC 3339ScheduleSummary.BuildertimeUpdated(Date timeUpdated)This is the date and time the schedule was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic ScheduleSummary.Builder id(String id) The OCID of the schedule- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ScheduleSummary.Builder compartmentId(String compartmentId) The OCID of the compartment in which the schedule is created- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ScheduleSummary.Builder displayName(String displayName) This is a user-friendly name for the schedule.It does not have to be unique, and it’s changeable. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
actionpublic ScheduleSummary.Builder action(ScheduleSummary.Action action) This is the action that will be executed by the schedule.- Parameters:
- action- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic ScheduleSummary.Builder description(String description) This is the description of the schedule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
recurrenceDetailspublic ScheduleSummary.Builder recurrenceDetails(String recurrenceDetails) This is the frequency of recurrence of a schedule.The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. - Parameters:
- recurrenceDetails- the value to set
- Returns:
- this builder
 
 - 
recurrenceTypepublic ScheduleSummary.Builder recurrenceType(ScheduleSummary.RecurrenceType recurrenceType) Type of recurrence of a schedule- Parameters:
- recurrenceType- the value to set
- Returns:
- this builder
 
 - 
resourceFilterspublic ScheduleSummary.Builder resourceFilters(List<ResourceFilter> resourceFilters) This is a list of resources filters.The schedule will be applied to resources matching all of them. - Parameters:
- resourceFilters- the value to set
- Returns:
- this builder
 
 - 
resourcespublic ScheduleSummary.Builder resources(List<Resource> resources) This is the list of resources to which the scheduled operation is applied.- Parameters:
- resources- the value to set
- Returns:
- this builder
 
 - 
timeStartspublic ScheduleSummary.Builder timeStarts(Date timeStarts) This is the date and time the schedule starts, in the format defined by RFC 3339Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeStarts- the value to set
- Returns:
- this builder
 
 - 
timeEndspublic ScheduleSummary.Builder timeEnds(Date timeEnds) This is the date and time the schedule ends, in the format defined by RFC 3339Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeEnds- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ScheduleSummary.Builder timeCreated(Date timeCreated) This is the date and time the schedule was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ScheduleSummary.Builder timeUpdated(Date timeUpdated) This is the date and time the schedule was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeLastRunpublic ScheduleSummary.Builder timeLastRun(Date timeLastRun) This is the date and time the schedule runs last time, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeLastRun- the value to set
- Returns:
- this builder
 
 - 
timeNextRunpublic ScheduleSummary.Builder timeNextRun(Date timeNextRun) This is the date and time the schedule run the next time, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeNextRun- the value to set
- Returns:
- this builder
 
 - 
lastRunStatuspublic ScheduleSummary.Builder lastRunStatus(OperationStatus lastRunStatus) This is the status of the last work request.- Parameters:
- lastRunStatus- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ScheduleSummary.Builder lifecycleState(Schedule.LifecycleState lifecycleState) This is the current state of the schedule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ScheduleSummary.Builder freeformTags(Map<String,String> freeformTags) These are free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ScheduleSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) These are defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ScheduleSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) These are system tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ScheduleSummary build() 
 - 
copypublic ScheduleSummary.Builder copy(ScheduleSummary model) 
 
- 
 
-