Class SchedulerExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.SchedulerExecutionSummary.Builder
-
- Enclosing class:
- SchedulerExecutionSummary
public static class SchedulerExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchedulerExecutionSummary.Builder
activityId(String activityId)
Action Group associated with the Schedule.SchedulerExecutionSummary
build()
SchedulerExecutionSummary.Builder
compartmentId(String compartmentId)
Compartment OCIDSchedulerExecutionSummary.Builder
copy(SchedulerExecutionSummary model)
SchedulerExecutionSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.SchedulerExecutionSummary.Builder
displayName(String displayName)
A user-friendly name.SchedulerExecutionSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.SchedulerExecutionSummary.Builder
id(String id)
The OCID of the resource.SchedulerExecutionSummary.Builder
latestRunbookVersionName(String latestRunbookVersionName)
Latest Runbook version available.SchedulerExecutionSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.SchedulerExecutionSummary.Builder
lifecycleState(SchedulerExecutionSummary.LifecycleState lifecycleState)
The current state of the Scheduler Execution.SchedulerExecutionSummary.Builder
resourceDisplayName(String resourceDisplayName)
Resource DsiplayName associated with the Schedule.SchedulerExecutionSummary.Builder
resourceId(String resourceId)
ResourceId associated with the Schedule.SchedulerExecutionSummary.Builder
runbookDisplayName(String runbookDisplayName)
DsiplayName of Runbook associated with the Schedule.SchedulerExecutionSummary.Builder
runbookId(String runbookId)
RunbookId associated with the Schedule.SchedulerExecutionSummary.Builder
runbookVersionName(String runbookVersionName)
Name of the Runbook version associated with the Schedule.SchedulerExecutionSummary.Builder
schedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition)
SchedulerExecutionSummary.Builder
schedulerJobId(String schedulerJobId)
jobId associated with the Schedule.SchedulerExecutionSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.SchedulerExecutionSummary.Builder
timeCreated(Date timeCreated)
The time this resource was created.SchedulerExecutionSummary.Builder
timeEnded(Date timeEnded)
Actual end date and time for the Execution.SchedulerExecutionSummary.Builder
timeScheduled(Date timeScheduled)
The scheduled date and time for the Job.SchedulerExecutionSummary.Builder
timeStarted(Date timeStarted)
Actual start date and time for the Execution.SchedulerExecutionSummary.Builder
timeUpdated(Date timeUpdated)
The time this resource was last updated.
-
-
-
Method Detail
-
id
public SchedulerExecutionSummary.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public SchedulerExecutionSummary.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 SchedulerExecutionSummary.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public SchedulerExecutionSummary.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 SchedulerExecutionSummary.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 SchedulerExecutionSummary.Builder timeScheduled(Date timeScheduled)
The scheduled date and time for the Job.- Parameters:
timeScheduled
- the value to set- Returns:
- this builder
-
activityId
public SchedulerExecutionSummary.Builder activityId(String activityId)
Action Group associated with the Schedule.- Parameters:
activityId
- the value to set- Returns:
- this builder
-
resourceId
public SchedulerExecutionSummary.Builder resourceId(String resourceId)
ResourceId associated with the Schedule.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
schedulerJobId
public SchedulerExecutionSummary.Builder schedulerJobId(String schedulerJobId)
jobId associated with the Schedule.- Parameters:
schedulerJobId
- the value to set- Returns:
- this builder
-
resourceDisplayName
public SchedulerExecutionSummary.Builder resourceDisplayName(String resourceDisplayName)
Resource DsiplayName associated with the Schedule.- Parameters:
resourceDisplayName
- the value to set- Returns:
- this builder
-
runbookId
public SchedulerExecutionSummary.Builder runbookId(String runbookId)
RunbookId associated with the Schedule.- Parameters:
runbookId
- the value to set- Returns:
- this builder
-
runbookVersionName
public SchedulerExecutionSummary.Builder runbookVersionName(String runbookVersionName)
Name of the Runbook version associated with the Schedule.- Parameters:
runbookVersionName
- the value to set- Returns:
- this builder
-
runbookDisplayName
public SchedulerExecutionSummary.Builder runbookDisplayName(String runbookDisplayName)
DsiplayName of Runbook associated with the Schedule.- Parameters:
runbookDisplayName
- the value to set- Returns:
- this builder
-
latestRunbookVersionName
public SchedulerExecutionSummary.Builder latestRunbookVersionName(String latestRunbookVersionName)
Latest Runbook version available.- Parameters:
latestRunbookVersionName
- the value to set- Returns:
- this builder
-
schedulerDefinition
public SchedulerExecutionSummary.Builder schedulerDefinition(AssociatedSchedulerDefinition schedulerDefinition)
-
timeStarted
public SchedulerExecutionSummary.Builder timeStarted(Date timeStarted)
Actual start date and time for the Execution.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeEnded
public SchedulerExecutionSummary.Builder timeEnded(Date timeEnded)
Actual end date and time for the Execution.- Parameters:
timeEnded
- the value to set- Returns:
- this builder
-
lifecycleState
public SchedulerExecutionSummary.Builder lifecycleState(SchedulerExecutionSummary.LifecycleState lifecycleState)
The current state of the Scheduler Execution.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public SchedulerExecutionSummary.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 SchedulerExecutionSummary.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 SchedulerExecutionSummary.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 SchedulerExecutionSummary.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 SchedulerExecutionSummary build()
-
copy
public SchedulerExecutionSummary.Builder copy(SchedulerExecutionSummary model)
-
-