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