Class DrPlanExecutionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrPlanExecutionSummary.Builder
-
- Enclosing class:
- DrPlanExecutionSummary
public static class DrPlanExecutionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanExecutionSummarybuild()DrPlanExecutionSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this plan execution.DrPlanExecutionSummary.Buildercopy(DrPlanExecutionSummary model)DrPlanExecutionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrPlanExecutionSummary.BuilderdisplayName(String displayName)The display name of the DR plan execution.DrPlanExecutionSummary.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group to which this DR plan execution belongs.DrPlanExecutionSummary.BuilderexecutionDurationInSec(Integer executionDurationInSec)The total duration in seconds taken to complete the DR plan execution.DrPlanExecutionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrPlanExecutionSummary.Builderid(String id)The OCID of the DR plan execution.DrPlanExecutionSummary.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR plan execution’s current state in more detail.DrPlanExecutionSummary.BuilderlifecycleState(DrPlanExecutionLifecycleState lifecycleState)The current state of the DR plan execution.DrPlanExecutionSummary.BuilderlogLocation(ObjectStorageLogLocation logLocation)DrPlanExecutionSummary.BuilderpeerDrProtectionGroupId(String peerDrProtectionGroupId)The OCID of peer DR protection group associated with this DR plan execution’s DR protection group.DrPlanExecutionSummary.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group associated with this DR plan execution’s DR protection group.DrPlanExecutionSummary.BuilderplanExecutionType(DrPlanExecutionType planExecutionType)The type of the DR plan execution.DrPlanExecutionSummary.BuilderplanId(String planId)The OCID of the DR plan for this DR plan execution.DrPlanExecutionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrPlanExecutionSummary.BuildertimeCreated(Date timeCreated)The date and time at which DR plan execution was created.DrPlanExecutionSummary.BuildertimeEnded(Date timeEnded)The date and time at which DR plan execution succeeded, failed, was paused, or canceled.DrPlanExecutionSummary.BuildertimeStarted(Date timeStarted)The date and time at which DR plan execution began.DrPlanExecutionSummary.BuildertimeUpdated(Date timeUpdated)The time when this DR plan execution was last updated.
-
-
-
Method Detail
-
id
public DrPlanExecutionSummary.Builder id(String id)
The OCID of the DR plan execution.Example: ocid1.drplanexecution.oc1..uniqueID
- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public DrPlanExecutionSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this plan execution.Example: ocid1.compartment.oc1..uniqueID
- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public DrPlanExecutionSummary.Builder displayName(String displayName)
The display name of the DR plan execution.Example: Execution - EBS Switchover PHX to IAD
- Parameters:
displayName- the value to set- Returns:
- this builder
-
planId
public DrPlanExecutionSummary.Builder planId(String planId)
The OCID of the DR plan for this DR plan execution.Example: ocid1.drplan.oc1..uniqueID
- Parameters:
planId- the value to set- Returns:
- this builder
-
planExecutionType
public DrPlanExecutionSummary.Builder planExecutionType(DrPlanExecutionType planExecutionType)
The type of the DR plan execution.- Parameters:
planExecutionType- the value to set- Returns:
- this builder
-
drProtectionGroupId
public DrPlanExecutionSummary.Builder drProtectionGroupId(String drProtectionGroupId)
The OCID of the DR protection group to which this DR plan execution belongs.Example: ocid1.drprotectiongroup.oc1..uniqueID
- Parameters:
drProtectionGroupId- the value to set- Returns:
- this builder
-
peerDrProtectionGroupId
public 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
- Parameters:
peerDrProtectionGroupId- the value to set- Returns:
- this builder
-
peerRegion
public 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
- Parameters:
peerRegion- the value to set- Returns:
- this builder
-
logLocation
public DrPlanExecutionSummary.Builder logLocation(ObjectStorageLogLocation logLocation)
-
timeCreated
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
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeStarted
public 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
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeUpdated
public DrPlanExecutionSummary.Builder timeUpdated(Date timeUpdated)
The time when this DR plan execution was last updated.Example: 2019-03-29T09:36:42Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeEnded
public 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
- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
executionDurationInSec
public DrPlanExecutionSummary.Builder executionDurationInSec(Integer executionDurationInSec)
The total duration in seconds taken to complete the DR plan execution.Example: 750
- Parameters:
executionDurationInSec- the value to set- Returns:
- this builder
-
lifecycleState
public DrPlanExecutionSummary.Builder lifecycleState(DrPlanExecutionLifecycleState lifecycleState)
The current state of the DR plan execution.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifeCycleDetails
public DrPlanExecutionSummary.Builder lifeCycleDetails(String lifeCycleDetails)
A message describing the DR plan execution’s current state in more detail.- Parameters:
lifeCycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public 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"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public DrPlanExecutionSummary build()
-
copy
public DrPlanExecutionSummary.Builder copy(DrPlanExecutionSummary model)
-
-