Class DrPlanExecution.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanExecution.Builder
 
- 
- Enclosing class:
- DrPlanExecution
 
 public static class DrPlanExecution.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanExecution.BuilderautomaticExecutionDetails(AutomaticExecutionDetails automaticExecutionDetails)DrPlanExecutionbuild()DrPlanExecution.BuildercompartmentId(String compartmentId)The OCID of the compartment containing this DR plan execution.DrPlanExecution.Buildercopy(DrPlanExecution model)DrPlanExecution.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrPlanExecution.BuilderdisplayName(String displayName)The display name of the DR plan execution.DrPlanExecution.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group to which this DR plan execution belongs.DrPlanExecution.BuilderexecutionDurationInSec(Integer executionDurationInSec)The total duration in seconds taken to complete the DR plan execution.DrPlanExecution.BuilderexecutionOptions(DrPlanExecutionOptions executionOptions)DrPlanExecution.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrPlanExecution.BuildergroupExecutions(List<DrPlanGroupExecution> groupExecutions)A list of groups executed in this DR plan execution.DrPlanExecution.Builderid(String id)The OCID of the DR plan execution.DrPlanExecution.BuilderisAutomatic(Boolean isAutomatic)A flag indicating whether execution was submitted automatically by Automatic DR Configuration.DrPlanExecution.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR plan execution’s current state in more detail.DrPlanExecution.BuilderlifecycleState(DrPlanExecutionLifecycleState lifecycleState)The current state of the DR plan execution.DrPlanExecution.BuilderlogLocation(ObjectStorageLogLocation logLocation)DrPlanExecution.BuilderpeerDrProtectionGroupId(String peerDrProtectionGroupId)The OCID of peer DR protection group associated with this plan’s DR protection group.DrPlanExecution.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group associated with this plan’s DR protection group.DrPlanExecution.BuilderplanExecutionType(DrPlanExecutionType planExecutionType)The type of the DR plan executed.DrPlanExecution.BuilderplanId(String planId)The OCID of the DR plan.DrPlanExecution.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrPlanExecution.BuildertimeCreated(Date timeCreated)The date and time at which DR plan execution was created.DrPlanExecution.BuildertimeEnded(Date timeEnded)The date and time at which DR plan execution succeeded, failed, was paused, or was canceled.DrPlanExecution.BuildertimeStarted(Date timeStarted)The date and time at which DR plan execution began.DrPlanExecution.BuildertimeUpdated(Date timeUpdated)The time when DR plan execution was last updated.
 
- 
- 
- 
Method Detail- 
idpublic DrPlanExecution.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
 
 - 
compartmentIdpublic DrPlanExecution.Builder compartmentId(String compartmentId) The OCID of the compartment containing this DR plan execution.Example: ocid1.compartment.oc1..uniqueID - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DrPlanExecution.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
 
 - 
planIdpublic DrPlanExecution.Builder planId(String planId) The OCID of the DR plan.Example: ocid1.drplan.oc1..uniqueID - Parameters:
- planId- the value to set
- Returns:
- this builder
 
 - 
planExecutionTypepublic DrPlanExecution.Builder planExecutionType(DrPlanExecutionType planExecutionType) The type of the DR plan executed.- Parameters:
- planExecutionType- the value to set
- Returns:
- this builder
 
 - 
executionOptionspublic DrPlanExecution.Builder executionOptions(DrPlanExecutionOptions executionOptions) 
 - 
drProtectionGroupIdpublic DrPlanExecution.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
 
 - 
peerDrProtectionGroupIdpublic 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 - Parameters:
- peerDrProtectionGroupId- the value to set
- Returns:
- this builder
 
 - 
peerRegionpublic 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 - Parameters:
- peerRegion- the value to set
- Returns:
- this builder
 
 - 
logLocationpublic DrPlanExecution.Builder logLocation(ObjectStorageLogLocation logLocation) 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic 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 - Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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 - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic 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 - Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
executionDurationInSecpublic DrPlanExecution.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
 
 - 
groupExecutionspublic DrPlanExecution.Builder groupExecutions(List<DrPlanGroupExecution> groupExecutions) A list of groups executed in this DR plan execution.- Parameters:
- groupExecutions- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DrPlanExecution.Builder lifecycleState(DrPlanExecutionLifecycleState lifecycleState) The current state of the DR plan execution.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifeCycleDetailspublic DrPlanExecution.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
 
 - 
isAutomaticpublic DrPlanExecution.Builder isAutomatic(Boolean isAutomatic) A flag indicating whether execution was submitted automatically by Automatic DR Configuration.Example: false - Parameters:
- isAutomatic- the value to set
- Returns:
- this builder
 
 - 
automaticExecutionDetailspublic DrPlanExecution.Builder automaticExecutionDetails(AutomaticExecutionDetails automaticExecutionDetails) 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic DrPlanExecution build() 
 - 
copypublic DrPlanExecution.Builder copy(DrPlanExecution model) 
 
- 
 
-