public static class ScheduledActivity.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduledActivity.Builder |
actions(List<Action> actions)
List of actions
|
ScheduledActivity |
build() |
ScheduledActivity.Builder |
copy(ScheduledActivity model) |
ScheduledActivity.Builder |
delayInHours(Integer delayInHours)
Cumulative delay hours
|
ScheduledActivity.Builder |
displayName(String displayName)
scheduled activity display name, can be renamed.
|
ScheduledActivity.Builder |
fusionEnvironmentId(String fusionEnvironmentId)
FAaaS Environment Identifier.
|
ScheduledActivity.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
ScheduledActivity.Builder |
lifecycleDetails(ScheduledActivity.LifecycleDetails lifecycleDetails)
A message describing the current state in more detail.
|
ScheduledActivity.Builder |
lifecycleState(ScheduledActivity.LifecycleState lifecycleState)
The current state of the scheduledActivity.
|
ScheduledActivity.Builder |
runCycle(ScheduledActivity.RunCycle runCycle)
run cadence.
|
ScheduledActivity.Builder |
scheduledActivityAssociationId(String scheduledActivityAssociationId)
The unique identifier that associates a scheduled activity with others in one complete
maintenance.
|
ScheduledActivity.Builder |
scheduledActivityPhase(ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase)
A property describing the phase of the scheduled activity.
|
ScheduledActivity.Builder |
serviceAvailability(ScheduledActivity.ServiceAvailability serviceAvailability)
Service availability / impact during scheduled activity execution up down
|
ScheduledActivity.Builder |
timeCreated(Date timeCreated)
The time the scheduled activity record was created.
|
ScheduledActivity.Builder |
timeExpectedFinish(Date timeExpectedFinish)
Current time the scheduled activity is scheduled to end.
|
ScheduledActivity.Builder |
timeFinished(Date timeFinished)
The time the scheduled activity actually completed / cancelled / failed.
|
ScheduledActivity.Builder |
timeScheduledStart(Date timeScheduledStart)
Current time the scheduled activity is scheduled to start.
|
ScheduledActivity.Builder |
timeUpdated(Date timeUpdated)
The time the scheduled activity record was updated.
|
public ScheduledActivity.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic ScheduledActivity.Builder displayName(String displayName)
scheduled activity display name, can be renamed.
displayName
- the value to setpublic ScheduledActivity.Builder runCycle(ScheduledActivity.RunCycle runCycle)
run cadence.
runCycle
- the value to setpublic ScheduledActivity.Builder fusionEnvironmentId(String fusionEnvironmentId)
FAaaS Environment Identifier.
fusionEnvironmentId
- the value to setpublic ScheduledActivity.Builder lifecycleState(ScheduledActivity.LifecycleState lifecycleState)
The current state of the scheduledActivity.
lifecycleState
- the value to setpublic ScheduledActivity.Builder actions(List<Action> actions)
List of actions
actions
- the value to setpublic ScheduledActivity.Builder serviceAvailability(ScheduledActivity.ServiceAvailability serviceAvailability)
Service availability / impact during scheduled activity execution up down
serviceAvailability
- the value to setpublic ScheduledActivity.Builder timeScheduledStart(Date timeScheduledStart)
Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string.
timeScheduledStart
- the value to setpublic ScheduledActivity.Builder timeExpectedFinish(Date timeExpectedFinish)
Current time the scheduled activity is scheduled to end. An RFC3339 formatted datetime string.
timeExpectedFinish
- the value to setpublic ScheduledActivity.Builder timeFinished(Date timeFinished)
The time the scheduled activity actually completed / cancelled / failed. An RFC3339 formatted datetime string.
timeFinished
- the value to setpublic ScheduledActivity.Builder delayInHours(Integer delayInHours)
Cumulative delay hours
delayInHours
- the value to setpublic ScheduledActivity.Builder timeCreated(Date timeCreated)
The time the scheduled activity record was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic ScheduledActivity.Builder timeUpdated(Date timeUpdated)
The time the scheduled activity record was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic ScheduledActivity.Builder lifecycleDetails(ScheduledActivity.LifecycleDetails 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 ScheduledActivity.Builder scheduledActivityPhase(ScheduledActivity.ScheduledActivityPhase scheduledActivityPhase)
A property describing the phase of the scheduled activity.
scheduledActivityPhase
- the value to setpublic ScheduledActivity.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 ScheduledActivity build()
public ScheduledActivity.Builder copy(ScheduledActivity model)
Copyright © 2016–2024. All rights reserved.