public static class SchedulerJobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 OCID
|
SchedulerJobSummary.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.
|
public SchedulerJobSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic 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
displayName
- the value to setpublic SchedulerJobSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic SchedulerJobSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SchedulerJobSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SchedulerJobSummary.Builder timeScheduled(Date timeScheduled)
The scheduled date and time for the Job.
timeScheduled
- the value to setpublic 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.
countOfAffectedActionGroups
- the value to setpublic SchedulerJobSummary.Builder countOfAffectedResources(Integer countOfAffectedResources)
Count of resources affected by the schedule.
countOfAffectedResources
- the value to setpublic SchedulerJobSummary.Builder countOfAffectedTargets(Integer countOfAffectedTargets)
Count of targets affected by the schedule.
countOfAffectedTargets
- the value to setpublic SchedulerJobSummary.Builder actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All Action Group types are part of the schedule.
actionGroupTypes
- the value to setpublic SchedulerJobSummary.Builder applicationTypes(List<String> applicationTypes)
All application types that are part of the schedule for an ENVIRONMENT action group Type.
applicationTypes
- the value to setpublic SchedulerJobSummary.Builder products(List<String> products)
All products that are part of the schedule for a PRODUCT action group type.
products
- the value to setpublic SchedulerJobSummary.Builder lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations that are part of the schedule.
lifecycleOperations
- the value to setpublic SchedulerJobSummary.Builder actionGroups(List<ActionGroupDetails> actionGroups)
Action Groups associated with the Schedule.
actionGroups
- the value to setpublic SchedulerJobSummary.Builder associatedScheduleDefinition(AssociatedSchedulerDefinition associatedScheduleDefinition)
public SchedulerJobSummary.Builder lifecycleState(SchedulerJob.LifecycleState lifecycleState)
The current state of the SchedulerJob.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic SchedulerJobSummary build()
public SchedulerJobSummary.Builder copy(SchedulerJobSummary model)
Copyright © 2016–2024. All rights reserved.