public static class SchedulerDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SchedulerDefinition.Builder |
actionGroups(List<ActionGroup> actionGroups)
Action Groups associated with the Schedule.
|
SchedulerDefinition.Builder |
actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All ActionGroup Types that are part of the schedule.
|
SchedulerDefinition.Builder |
activityInitiationCutOff(Integer activityInitiationCutOff)
Activity Initiation Cut Off.
|
SchedulerDefinition.Builder |
applicationTypes(List<String> applicationTypes)
All application types that are part of the schedule for ENVIRONMENT ActionGroup Type.
|
SchedulerDefinition |
build() |
SchedulerDefinition.Builder |
compartmentId(String compartmentId)
Tenancy OCID
|
SchedulerDefinition.Builder |
copy(SchedulerDefinition model) |
SchedulerDefinition.Builder |
countOfAffectedActionGroups(Integer countOfAffectedActionGroups)
Count of Action Groups affected by the Schedule.
|
SchedulerDefinition.Builder |
countOfAffectedResources(Integer countOfAffectedResources)
Count of Resources affected by the Schedule.
|
SchedulerDefinition.Builder |
countOfAffectedTargets(Integer countOfAffectedTargets)
Count of Targets affected by the Schedule.
|
SchedulerDefinition.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SchedulerDefinition.Builder |
description(String description)
A user-friendly description.
|
SchedulerDefinition.Builder |
displayName(String displayName)
A user-friendly name.
|
SchedulerDefinition.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
SchedulerDefinition.Builder |
id(String id)
The OCID of the resource.
|
SchedulerDefinition.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
SchedulerDefinition.Builder |
lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations that are part of the schedule.
|
SchedulerDefinition.Builder |
lifecycleState(SchedulerDefinition.LifecycleState lifecycleState)
The current state of the SchedulerDefinition.
|
SchedulerDefinition.Builder |
products(List<String> products)
All products that are part of the schedule for PRODUCT ActionGroup Type.
|
SchedulerDefinition.Builder |
resourceRegion(String resourceRegion)
Associated region
|
SchedulerDefinition.Builder |
runBooks(List<OperationRunbook> runBooks)
Runbooks.
|
SchedulerDefinition.Builder |
schedule(Schedule schedule) |
SchedulerDefinition.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
SchedulerDefinition.Builder |
timeCreated(Date timeCreated)
The time this resource was created.
|
SchedulerDefinition.Builder |
timeOfNextRun(Date timeOfNextRun)
The scheduled date for the next run of the Job.
|
SchedulerDefinition.Builder |
timeUpdated(Date timeUpdated)
The time this resource was last updated.
|
public SchedulerDefinition.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic 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
displayName
- the value to setpublic SchedulerDefinition.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic SchedulerDefinition.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic SchedulerDefinition.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic SchedulerDefinition.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SchedulerDefinition.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SchedulerDefinition.Builder timeOfNextRun(Date timeOfNextRun)
The scheduled date for the next run of the Job.
timeOfNextRun
- the value to setpublic SchedulerDefinition.Builder activityInitiationCutOff(Integer activityInitiationCutOff)
Activity Initiation Cut Off.
activityInitiationCutOff
- the value to setpublic SchedulerDefinition.Builder schedule(Schedule schedule)
public SchedulerDefinition.Builder countOfAffectedActionGroups(Integer countOfAffectedActionGroups)
Count of Action Groups affected by the Schedule.
countOfAffectedActionGroups
- the value to setpublic SchedulerDefinition.Builder countOfAffectedResources(Integer countOfAffectedResources)
Count of Resources affected by the Schedule.
countOfAffectedResources
- the value to setpublic SchedulerDefinition.Builder countOfAffectedTargets(Integer countOfAffectedTargets)
Count of Targets affected by the Schedule.
countOfAffectedTargets
- the value to setpublic SchedulerDefinition.Builder actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All ActionGroup Types that are part of the schedule.
actionGroupTypes
- the value to setpublic SchedulerDefinition.Builder applicationTypes(List<String> applicationTypes)
All application types that are part of the schedule for ENVIRONMENT ActionGroup Type.
applicationTypes
- the value to setpublic SchedulerDefinition.Builder products(List<String> products)
All products that are part of the schedule for PRODUCT ActionGroup Type.
products
- the value to setpublic SchedulerDefinition.Builder lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations that are part of the schedule.
lifecycleOperations
- the value to setpublic SchedulerDefinition.Builder actionGroups(List<ActionGroup> actionGroups)
Action Groups associated with the Schedule.
actionGroups
- the value to setpublic SchedulerDefinition.Builder runBooks(List<OperationRunbook> runBooks)
Runbooks.
runBooks
- the value to setpublic SchedulerDefinition.Builder lifecycleState(SchedulerDefinition.LifecycleState lifecycleState)
The current state of the SchedulerDefinition.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic SchedulerDefinition build()
public SchedulerDefinition.Builder copy(SchedulerDefinition model)
Copyright © 2016–2024. All rights reserved.