Class SchedulerJobSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.SchedulerJobSummary.Builder
-
- Enclosing class:
- SchedulerJobSummary
public static class SchedulerJobSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerJobSummary.BuilderactionGroups(List<ActionGroupDetails> actionGroups)Action Groups associated with the Schedule.SchedulerJobSummarybuild()SchedulerJobSummary.BuildercompartmentId(String compartmentId)Compartment OCIDSchedulerJobSummary.Buildercopy(SchedulerJobSummary model)SchedulerJobSummary.BuildercountOfAffectedActionGroups(Integer countOfAffectedActionGroups)Count of Action Groups affected by the Schedule.SchedulerJobSummary.BuildercountOfAffectedResources(Integer countOfAffectedResources)Count of resources affected by the schedule.SchedulerJobSummary.BuildercountOfAffectedTargets(Integer countOfAffectedTargets)Count of targets affected by the schedule.SchedulerJobSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SchedulerJobSummary.BuilderdisplayName(String displayName)A user-friendly name.SchedulerJobSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.SchedulerJobSummary.Builderid(String id)The OCID of the resource.SchedulerJobSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.SchedulerJobSummary.BuilderlifecycleOperations(List<String> lifecycleOperations)All LifeCycle Operations that are part of the schedule.SchedulerJobSummary.BuilderlifecycleState(SchedulerJob.LifecycleState lifecycleState)The current state of the SchedulerJob.SchedulerJobSummary.Builderproducts(List<String> products)All products that are part of the schedule for a PRODUCT action group type.SchedulerJobSummary.BuilderschedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition)SchedulerJobSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SchedulerJobSummary.BuildertimeCreated(Date timeCreated)The time this resource was created.SchedulerJobSummary.BuildertimeScheduled(Date timeScheduled)The scheduled date and time for the Job.SchedulerJobSummary.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
-
-
-
Method Detail
-
id
public SchedulerJobSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public SchedulerJobSummary.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
-
compartmentId
public SchedulerJobSummary.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
timeCreated
public SchedulerJobSummary.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public SchedulerJobSummary.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
-
timeScheduled
public SchedulerJobSummary.Builder timeScheduled(Date timeScheduled)
The scheduled date and time for the Job.- Parameters:
timeScheduled- the value to set- Returns:
- this builder
-
countOfAffectedActionGroups
public SchedulerJobSummary.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
-
countOfAffectedResources
public SchedulerJobSummary.Builder countOfAffectedResources(Integer countOfAffectedResources)
Count of resources affected by the schedule.- Parameters:
countOfAffectedResources- the value to set- Returns:
- this builder
-
countOfAffectedTargets
public SchedulerJobSummary.Builder countOfAffectedTargets(Integer countOfAffectedTargets)
Count of targets affected by the schedule.- Parameters:
countOfAffectedTargets- the value to set- Returns:
- this builder
-
products
public SchedulerJobSummary.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
-
lifecycleOperations
public SchedulerJobSummary.Builder lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations that are part of the schedule.- Parameters:
lifecycleOperations- the value to set- Returns:
- this builder
-
actionGroups
public SchedulerJobSummary.Builder actionGroups(List<ActionGroupDetails> actionGroups)
Action Groups associated with the Schedule.- Parameters:
actionGroups- the value to set- Returns:
- this builder
-
schedulerDefinition
public SchedulerJobSummary.Builder schedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition)
-
lifecycleState
public SchedulerJobSummary.Builder lifecycleState(SchedulerJob.LifecycleState lifecycleState)
The current state of the SchedulerJob.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public SchedulerJobSummary.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
-
freeformTags
public SchedulerJobSummary.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
-
definedTags
public SchedulerJobSummary.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
-
systemTags
public SchedulerJobSummary.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
-
build
public SchedulerJobSummary build()
-
copy
public SchedulerJobSummary.Builder copy(SchedulerJobSummary model)
-
-