public static class DrPlanExecution.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DrPlanExecution |
build() |
DrPlanExecution.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing this DR plan execution.
|
DrPlanExecution.Builder |
copy(DrPlanExecution model) |
DrPlanExecution.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DrPlanExecution.Builder |
displayName(String displayName)
The display name of the DR plan execution.
|
DrPlanExecution.Builder |
drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan execution belongs.
|
DrPlanExecution.Builder |
executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete the DR plan execution.
|
DrPlanExecution.Builder |
executionOptions(DrPlanExecutionOptions executionOptions) |
DrPlanExecution.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DrPlanExecution.Builder |
groupExecutions(List<DrPlanGroupExecution> groupExecutions)
A list of groups executed in this DR plan execution.
|
DrPlanExecution.Builder |
id(String id)
The OCID of the DR plan execution.
|
DrPlanExecution.Builder |
lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan execution’s current state in more detail.
|
DrPlanExecution.Builder |
lifecycleState(DrPlanExecutionLifecycleState lifecycleState)
The current state of the DR plan execution.
|
DrPlanExecution.Builder |
logLocation(ObjectStorageLogLocation logLocation) |
DrPlanExecution.Builder |
peerDrProtectionGroupId(String peerDrProtectionGroupId)
The OCID of peer DR protection group associated with this plan’s DR protection group.
|
DrPlanExecution.Builder |
peerRegion(String peerRegion)
The region of the peer DR protection group associated with this plan’s DR protection
group.
|
DrPlanExecution.Builder |
planExecutionType(DrPlanExecutionType planExecutionType)
The type of the DR plan executed.
|
DrPlanExecution.Builder |
planId(String planId)
The OCID of the DR plan.
|
DrPlanExecution.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
DrPlanExecution.Builder |
timeCreated(Date timeCreated)
The date and time at which DR plan execution was created.
|
DrPlanExecution.Builder |
timeEnded(Date timeEnded)
The date and time at which DR plan execution succeeded, failed, was paused, or was
canceled.
|
DrPlanExecution.Builder |
timeStarted(Date timeStarted)
The date and time at which DR plan execution began.
|
DrPlanExecution.Builder |
timeUpdated(Date timeUpdated)
The time when DR plan execution was last updated.
|
public DrPlanExecution.Builder id(String id)
The OCID of the DR plan execution.
Example: ocid1.drplanexecution.oc1..uniqueID
id
- the value to setpublic DrPlanExecution.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this DR plan execution.
Example: ocid1.compartment.oc1..uniqueID
compartmentId
- the value to setpublic DrPlanExecution.Builder displayName(String displayName)
The display name of the DR plan execution.
Example: Execution - EBS Switchover PHX to IAD
displayName
- the value to setpublic DrPlanExecution.Builder planId(String planId)
The OCID of the DR plan.
Example: ocid1.drplan.oc1..uniqueID
planId
- the value to setpublic DrPlanExecution.Builder planExecutionType(DrPlanExecutionType planExecutionType)
The type of the DR plan executed.
planExecutionType
- the value to setpublic DrPlanExecution.Builder executionOptions(DrPlanExecutionOptions executionOptions)
public DrPlanExecution.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan execution belongs.
Example: ocid1.drprotectiongroup.oc1..uniqueID
drProtectionGroupId
- the value to setpublic DrPlanExecution.Builder peerDrProtectionGroupId(String peerDrProtectionGroupId)
The OCID of peer DR protection group associated with this plan’s DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
peerDrProtectionGroupId
- the value to setpublic DrPlanExecution.Builder peerRegion(String peerRegion)
The region of the peer DR protection group associated with this plan’s DR protection group.
Example: us-ashburn-1
peerRegion
- the value to setpublic DrPlanExecution.Builder logLocation(ObjectStorageLogLocation logLocation)
public DrPlanExecution.Builder timeCreated(Date timeCreated)
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeCreated
- the value to setpublic DrPlanExecution.Builder timeStarted(Date timeStarted)
The date and time at which DR plan execution began. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeStarted
- the value to setpublic DrPlanExecution.Builder timeUpdated(Date timeUpdated)
The time when DR plan execution was last updated. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeUpdated
- the value to setpublic DrPlanExecution.Builder timeEnded(Date timeEnded)
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
timeEnded
- the value to setpublic DrPlanExecution.Builder executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete the DR plan execution.
Example: 750
executionDurationInSec
- the value to setpublic DrPlanExecution.Builder groupExecutions(List<DrPlanGroupExecution> groupExecutions)
A list of groups executed in this DR plan execution.
groupExecutions
- the value to setpublic DrPlanExecution.Builder lifecycleState(DrPlanExecutionLifecycleState lifecycleState)
The current state of the DR plan execution.
lifecycleState
- the value to setpublic DrPlanExecution.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan execution’s current state in more detail.
lifeCycleDetails
- the value to setpublic DrPlanExecution.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: {"Department": "Finance"}
freeformTags
- the value to setpublic DrPlanExecution.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic DrPlanExecution.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic DrPlanExecution build()
public DrPlanExecution.Builder copy(DrPlanExecution model)
Copyright © 2016–2024. All rights reserved.