Class SchedulerDefinition.Builder
- java.lang.Object
- 
- com.oracle.bmc.fleetappsmanagement.model.SchedulerDefinition.Builder
 
- 
- Enclosing class:
- SchedulerDefinition
 
 public static class SchedulerDefinition.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerDefinition.BuilderactionGroups(List<ActionGroup> actionGroups)Action Groups associated with the Schedule.SchedulerDefinitionbuild()SchedulerDefinition.BuildercompartmentId(String compartmentId)Compartment OCIDSchedulerDefinition.Buildercopy(SchedulerDefinition model)SchedulerDefinition.BuildercountOfAffectedActionGroups(Integer countOfAffectedActionGroups)Count of Action Groups affected by the Schedule.SchedulerDefinition.BuildercountOfAffectedResources(Integer countOfAffectedResources)Count of Resources affected by the Schedule.SchedulerDefinition.BuildercountOfAffectedTargets(Integer countOfAffectedTargets)Count of Targets affected by the Schedule.SchedulerDefinition.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulerDefinition.Builderdescription(String description)A user-friendly description.SchedulerDefinition.BuilderdisplayName(String displayName)A user-friendly name.SchedulerDefinition.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SchedulerDefinition.Builderid(String id)The OCID of the resource.SchedulerDefinition.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SchedulerDefinition.BuilderlifecycleOperations(List<String> lifecycleOperations)All LifeCycle Operations that are part of the schedule.SchedulerDefinition.BuilderlifecycleState(SchedulerDefinition.LifecycleState lifecycleState)The current state of the SchedulerDefinition.SchedulerDefinition.Builderproducts(List<String> products)All products that are part of the schedule for PRODUCT ActionGroup Type.SchedulerDefinition.BuilderresourceRegion(String resourceRegion)Associated regionSchedulerDefinition.BuilderrunBooks(List<OperationRunbook> runBooks)Runbooks.SchedulerDefinition.Builderschedule(Schedule schedule)SchedulerDefinition.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulerDefinition.BuildertimeCreated(Date timeCreated)The time this resource was created.SchedulerDefinition.BuildertimeOfNextRun(Date timeOfNextRun)The scheduled date for the next run of the Job.SchedulerDefinition.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic SchedulerDefinition.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic SchedulerDefinition.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
 
 - 
descriptionpublic SchedulerDefinition.Builder description(String description) A user-friendly description.To provide some insight about the resource. Avoid entering confidential information. - Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic SchedulerDefinition.Builder compartmentId(String compartmentId) Compartment OCID- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
resourceRegionpublic SchedulerDefinition.Builder resourceRegion(String resourceRegion) Associated region- Parameters:
- resourceRegion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SchedulerDefinition.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 SchedulerDefinition.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
 
 - 
timeOfNextRunpublic SchedulerDefinition.Builder timeOfNextRun(Date timeOfNextRun) The scheduled date for the next run of the Job.- Parameters:
- timeOfNextRun- the value to set
- Returns:
- this builder
 
 - 
schedulepublic SchedulerDefinition.Builder schedule(Schedule schedule) 
 - 
countOfAffectedActionGroupspublic SchedulerDefinition.Builder countOfAffectedActionGroups(Integer countOfAffectedActionGroups) Count of Action Groups affected by the Schedule.- Parameters:
- countOfAffectedActionGroups- the value to set
- Returns:
- this builder
 
 - 
countOfAffectedResourcespublic SchedulerDefinition.Builder countOfAffectedResources(Integer countOfAffectedResources) Count of Resources affected by the Schedule.- Parameters:
- countOfAffectedResources- the value to set
- Returns:
- this builder
 
 - 
countOfAffectedTargetspublic SchedulerDefinition.Builder countOfAffectedTargets(Integer countOfAffectedTargets) Count of Targets affected by the Schedule.- Parameters:
- countOfAffectedTargets- the value to set
- Returns:
- this builder
 
 - 
productspublic SchedulerDefinition.Builder products(List<String> products) All products that are part of the schedule for PRODUCT ActionGroup Type.- Parameters:
- products- the value to set
- Returns:
- this builder
 
 - 
lifecycleOperationspublic SchedulerDefinition.Builder lifecycleOperations(List<String> lifecycleOperations) All LifeCycle Operations that are part of the schedule.- Parameters:
- lifecycleOperations- the value to set
- Returns:
- this builder
 
 - 
actionGroupspublic SchedulerDefinition.Builder actionGroups(List<ActionGroup> actionGroups) Action Groups associated with the Schedule.- Parameters:
- actionGroups- the value to set
- Returns:
- this builder
 
 - 
runBookspublic SchedulerDefinition.Builder runBooks(List<OperationRunbook> runBooks) Runbooks.- Parameters:
- runBooks- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SchedulerDefinition.Builder lifecycleState(SchedulerDefinition.LifecycleState lifecycleState) The current state of the SchedulerDefinition.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SchedulerDefinition.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 SchedulerDefinition.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 SchedulerDefinition.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 SchedulerDefinition.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 SchedulerDefinition build() 
 - 
copypublic SchedulerDefinition.Builder copy(SchedulerDefinition model) 
 
- 
 
-