Class SchedulerJob.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.SchedulerJob.Builder
 
- 
- Enclosing class:
- SchedulerJob
 
 public static class SchedulerJob.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerJob.BuilderactionGroups(List<ActionGroupDetails> actionGroups)Action Groups associated with the Schedule.SchedulerJobbuild()SchedulerJob.BuildercompartmentId(String compartmentId)Compartment OCIDSchedulerJob.Buildercopy(SchedulerJob model)SchedulerJob.BuildercountOfAffectedActionGroups(Integer countOfAffectedActionGroups)Count of Action Groups affected by the Schedule.SchedulerJob.BuildercountOfAffectedResources(Integer countOfAffectedResources)Count of resources affected by the schedule.SchedulerJob.BuildercountOfAffectedTargets(Integer countOfAffectedTargets)Count of targets affected by the schedule.SchedulerJob.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulerJob.BuilderdisplayName(String displayName)A user-friendly name.SchedulerJob.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SchedulerJob.Builderid(String id)The OCID of the resource.SchedulerJob.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SchedulerJob.BuilderlifecycleOperations(List<String> lifecycleOperations)All LifeCycle Operations that are part of the schedule.SchedulerJob.BuilderlifecycleState(SchedulerJob.LifecycleState lifecycleState)The current state of the SchedulerJob.SchedulerJob.Builderproducts(List<String> products)All products that are part of the schedule for a PRODUCT action group type.SchedulerJob.BuilderschedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition)SchedulerJob.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulerJob.BuildertimeCreated(Date timeCreated)The time this resource was created.SchedulerJob.BuildertimeEnded(Date timeEnded)Actual end date and time for the Job.SchedulerJob.BuildertimeScheduled(Date timeScheduled)The scheduled date and time for the Job.SchedulerJob.BuildertimeStarted(Date timeStarted)Actual start date and time for the Job.SchedulerJob.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic SchedulerJob.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SchedulerJob.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example: My new resource - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SchedulerJob.Builder compartmentId(String compartmentId) Compartment OCID- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SchedulerJob.Builder timeCreated(Date timeCreated) The time this resource was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic SchedulerJob.Builder timeUpdated(Date timeUpdated) The time this resource was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeScheduledpublic SchedulerJob.Builder timeScheduled(Date timeScheduled) The scheduled date and time for the Job.- Parameters:
- timeScheduled- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic SchedulerJob.Builder timeStarted(Date timeStarted) Actual start date and time for the Job.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic SchedulerJob.Builder timeEnded(Date timeEnded) Actual end date and time for the Job.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
countOfAffectedActionGroupspublic SchedulerJob.Builder countOfAffectedActionGroups(Integer countOfAffectedActionGroups) Count of Action Groups affected by the Schedule.An action group is a group of entities grouped for a lifecycle activity. Example - A Fleet will be considered an Action Group for any lifecycle activity. - Parameters:
- countOfAffectedActionGroups- the value to set
- Returns:
- this builder
 
 - 
countOfAffectedResourcespublic SchedulerJob.Builder countOfAffectedResources(Integer countOfAffectedResources) Count of resources affected by the schedule.- Parameters:
- countOfAffectedResources- the value to set
- Returns:
- this builder
 
 - 
countOfAffectedTargetspublic SchedulerJob.Builder countOfAffectedTargets(Integer countOfAffectedTargets) Count of targets affected by the schedule.- Parameters:
- countOfAffectedTargets- the value to set
- Returns:
- this builder
 
 - 
productspublic SchedulerJob.Builder products(List<String> products) All products that are part of the schedule for a PRODUCT action group type.- Parameters:
- products- the value to set
- Returns:
- this builder
 
 - 
lifecycleOperationspublic SchedulerJob.Builder lifecycleOperations(List<String> lifecycleOperations) All LifeCycle Operations that are part of the schedule.- Parameters:
- lifecycleOperations- the value to set
- Returns:
- this builder
 
 - 
actionGroupspublic SchedulerJob.Builder actionGroups(List<ActionGroupDetails> actionGroups) Action Groups associated with the Schedule.- Parameters:
- actionGroups- the value to set
- Returns:
- this builder
 
 - 
schedulerDefinitionpublic SchedulerJob.Builder schedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition) 
 - 
lifecycleStatepublic SchedulerJob.Builder lifecycleState(SchedulerJob.LifecycleState lifecycleState) The current state of the SchedulerJob.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SchedulerJob.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SchedulerJob.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic SchedulerJob.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic SchedulerJob.Builder systemTags(Map<String,Map<String,Object>> systemTags) 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 SchedulerJob build() 
 - 
copypublic SchedulerJob.Builder copy(SchedulerJob model) 
 
- 
 
-