public static class ScheduledActivitySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduledActivitySummary.Builder |
actions(List<Action> actions)
List of actions
|
ScheduledActivitySummary |
build() |
ScheduledActivitySummary.Builder |
copy(ScheduledActivitySummary model) |
ScheduledActivitySummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScheduledActivitySummary.Builder |
delayInHours(Integer delayInHours)
Cumulative delay hours
|
ScheduledActivitySummary.Builder |
displayName(String displayName)
A friendly name for the scheduled activity.
|
ScheduledActivitySummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ScheduledActivitySummary.Builder |
fusionEnvironmentId(String fusionEnvironmentId)
The OCID of the Fusion environment for the scheduled activity.
|
ScheduledActivitySummary.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
ScheduledActivitySummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ScheduledActivitySummary.Builder |
lifecycleState(ScheduledActivity.LifecycleState lifecycleState)
The current state of the scheduled activity.
|
ScheduledActivitySummary.Builder |
runCycle(ScheduledActivity.RunCycle runCycle)
The run cadence of this scheduled activity.
|
ScheduledActivitySummary.Builder |
scheduledActivityAssociationId(String scheduledActivityAssociationId)
The unique identifier that associates a scheduled activity with others in one complete
maintenance.
|
ScheduledActivitySummary.Builder |
scheduledActivityPhase(ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase)
A property describing the phase of the scheduled activity.
|
ScheduledActivitySummary.Builder |
serviceAvailability(ScheduledActivity.ServiceAvailability serviceAvailability)
Service availability / impact during scheduled activity execution, up down
|
ScheduledActivitySummary.Builder |
timeAccepted(Date timeAccepted)
The time the scheduled activity record was created.
|
ScheduledActivitySummary.Builder |
timeExpectedFinish(Date timeExpectedFinish)
Current time the scheduled activity is scheduled to end.
|
ScheduledActivitySummary.Builder |
timeFinished(Date timeFinished)
The time the scheduled activity actually completed / cancelled / failed.
|
ScheduledActivitySummary.Builder |
timeScheduledStart(Date timeScheduledStart)
Current time the scheduled activity is scheduled to start.
|
ScheduledActivitySummary.Builder |
timeUpdated(Date timeUpdated)
The time the scheduled activity record was updated.
|
public ScheduledActivitySummary.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic ScheduledActivitySummary.Builder displayName(String displayName)
A friendly name for the scheduled activity. Can be changed later.
displayName
- the value to setpublic ScheduledActivitySummary.Builder runCycle(ScheduledActivity.RunCycle runCycle)
The run cadence of this scheduled activity. Valid values are Quarterly, Monthly, OneOff, and Vertex.
runCycle
- the value to setpublic ScheduledActivitySummary.Builder fusionEnvironmentId(String fusionEnvironmentId)
The OCID of the Fusion environment for the scheduled activity.
fusionEnvironmentId
- the value to setpublic ScheduledActivitySummary.Builder lifecycleState(ScheduledActivity.LifecycleState lifecycleState)
The current state of the scheduled activity. Valid values are Scheduled, In progress , Failed, Completed.
lifecycleState
- the value to setpublic ScheduledActivitySummary.Builder actions(List<Action> actions)
List of actions
actions
- the value to setpublic ScheduledActivitySummary.Builder timeScheduledStart(Date timeScheduledStart)
Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
timeScheduledStart
- the value to setpublic ScheduledActivitySummary.Builder timeExpectedFinish(Date timeExpectedFinish)
Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
timeExpectedFinish
- the value to setpublic ScheduledActivitySummary.Builder timeFinished(Date timeFinished)
The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
timeFinished
- the value to setpublic ScheduledActivitySummary.Builder delayInHours(Integer delayInHours)
Cumulative delay hours
delayInHours
- the value to setpublic ScheduledActivitySummary.Builder serviceAvailability(ScheduledActivity.ServiceAvailability serviceAvailability)
Service availability / impact during scheduled activity execution, up down
serviceAvailability
- the value to setpublic ScheduledActivitySummary.Builder timeAccepted(Date timeAccepted)
The time the scheduled activity record was created. An RFC3339 formatted datetime string.
timeAccepted
- the value to setpublic ScheduledActivitySummary.Builder timeUpdated(Date timeUpdated)
The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ScheduledActivitySummary.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 ScheduledActivitySummary.Builder scheduledActivityPhase(ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase)
A property describing the phase of the scheduled activity.
scheduledActivityPhase
- the value to setpublic ScheduledActivitySummary.Builder scheduledActivityAssociationId(String scheduledActivityAssociationId)
The unique identifier that associates a scheduled activity with others in one complete maintenance. For example, with ZDT, a complete upgrade maintenance includes 5 scheduled activities - PREPARE, EXECUTE, POST, PRE_MAINTENANCE, and POST_MAINTENANCE. All of them share the same unique identifier - scheduledActivityAssociationId.
scheduledActivityAssociationId
- the value to setpublic ScheduledActivitySummary.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 ScheduledActivitySummary.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 ScheduledActivitySummary build()
public ScheduledActivitySummary.Builder copy(ScheduledActivitySummary model)
Copyright © 2016–2024. All rights reserved.