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.Builder
actionGroups(List<ActionGroupDetails> actionGroups)
Action Groups associated with the Schedule.SchedulerJobSummary.Builder
actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All Action Group types are part of the schedule.SchedulerJobSummary.Builder
applicationTypes(List<String> applicationTypes)
All application types that are part of the schedule for an ENVIRONMENT action group Type.SchedulerJobSummary.Builder
associatedScheduleDefinition(AssociatedSchedulerDefinition associatedScheduleDefinition)
SchedulerJobSummary
build()
SchedulerJobSummary.Builder
compartmentId(String compartmentId)
Tenancy OCIDSchedulerJobSummary.Builder
copy(SchedulerJobSummary model)
SchedulerJobSummary.Builder
countOfAffectedActionGroups(Integer countOfAffectedActionGroups)
Count of Action Groups affected by the Schedule.SchedulerJobSummary.Builder
countOfAffectedResources(Integer countOfAffectedResources)
Count of resources affected by the schedule.SchedulerJobSummary.Builder
countOfAffectedTargets(Integer countOfAffectedTargets)
Count of targets affected by the schedule.SchedulerJobSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SchedulerJobSummary.Builder
displayName(String displayName)
A user-friendly name.SchedulerJobSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SchedulerJobSummary.Builder
id(String id)
The OCID of the resource.SchedulerJobSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.SchedulerJobSummary.Builder
lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations that are part of the schedule.SchedulerJobSummary.Builder
lifecycleState(SchedulerJob.LifecycleState lifecycleState)
The current state of the SchedulerJob.SchedulerJobSummary.Builder
products(List<String> products)
All products that are part of the schedule for a PRODUCT action group type.SchedulerJobSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SchedulerJobSummary.Builder
timeCreated(Date timeCreated)
The time this resource was created.SchedulerJobSummary.Builder
timeScheduled(Date timeScheduled)
The scheduled date and time for the Job.SchedulerJobSummary.Builder
timeUpdated(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)
Tenancy 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
-
actionGroupTypes
public SchedulerJobSummary.Builder actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All Action Group types are part of the schedule.- Parameters:
actionGroupTypes
- the value to set- Returns:
- this builder
-
applicationTypes
public SchedulerJobSummary.Builder applicationTypes(List<String> applicationTypes)
All application types that are part of the schedule for an ENVIRONMENT action group Type.- Parameters:
applicationTypes
- 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
-
associatedScheduleDefinition
public SchedulerJobSummary.Builder associatedScheduleDefinition(AssociatedSchedulerDefinition associatedScheduleDefinition)
-
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)
-
-