public static class SchedulerDefinitionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public SchedulerDefinitionSummary.Builder id(String id)
The OCID of the resource.
id
- the value to setpublic SchedulerDefinitionSummary.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 SchedulerDefinitionSummary.Builder description(String description)
A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
description
- the value to setpublic SchedulerDefinitionSummary.Builder compartmentId(String compartmentId)
Tenancy OCID
compartmentId
- the value to setpublic SchedulerDefinitionSummary.Builder resourceRegion(String resourceRegion)
Associated region
resourceRegion
- the value to setpublic SchedulerDefinitionSummary.Builder timeCreated(Date timeCreated)
The time this resource was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic SchedulerDefinitionSummary.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic SchedulerDefinitionSummary.Builder timeOfNextRun(Date timeOfNextRun)
Scheduled date for the next run of the Job.
timeOfNextRun
- the value to setpublic SchedulerDefinitionSummary.Builder schedule(Schedule schedule)
public SchedulerDefinitionSummary.Builder countOfAffectedActionGroups(Integer countOfAffectedActionGroups)
Count of Action Groups affected by the Schedule.
countOfAffectedActionGroups
- the value to setpublic SchedulerDefinitionSummary.Builder countOfAffectedResources(Integer countOfAffectedResources)
Count of Resources affected by the Schedule
countOfAffectedResources
- the value to setpublic SchedulerDefinitionSummary.Builder countOfAffectedTargets(Integer countOfAffectedTargets)
Count of Targets affected by the Schedule
countOfAffectedTargets
- the value to setpublic SchedulerDefinitionSummary.Builder actionGroupTypes(List<LifeCycleActionGroupType> actionGroupTypes)
All ActionGroup Types part of the schedule.
actionGroupTypes
- the value to setpublic SchedulerDefinitionSummary.Builder applicationTypes(List<String> applicationTypes)
All application types part of the schedule for ENVIRONMENT ActionGroup Type.
applicationTypes
- the value to setpublic SchedulerDefinitionSummary.Builder products(List<String> products)
All products part of the schedule for PRODUCT ActionGroup Type.
products
- the value to setpublic SchedulerDefinitionSummary.Builder lifecycleOperations(List<String> lifecycleOperations)
All LifeCycle Operations part of the schedule
lifecycleOperations
- the value to setpublic SchedulerDefinitionSummary.Builder lifecycleState(SchedulerDefinition.LifecycleState lifecycleState)
The current state of the SchedulerDefinition.
lifecycleState
- the value to setpublic SchedulerDefinitionSummary.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 SchedulerDefinitionSummary.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 SchedulerDefinitionSummary.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 SchedulerDefinitionSummary.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 SchedulerDefinitionSummary build()
public SchedulerDefinitionSummary.Builder copy(SchedulerDefinitionSummary model)
Copyright © 2016–2024. All rights reserved.