Class DrPlanExecutionSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanExecutionSummary.Builder
 
- 
- Enclosing class:
- DrPlanExecutionSummary
 
 public static class DrPlanExecutionSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic 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
 
 - 
compartmentIdpublic 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
 
 - 
displayNamepublic 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
 
 - 
planIdpublic 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
 
 - 
planExecutionTypepublic DrPlanExecutionSummary.Builder planExecutionType(DrPlanExecutionType planExecutionType) The type of the DR plan execution.- Parameters:
- planExecutionType- the value to set
- Returns:
- this builder
 
 - 
drProtectionGroupIdpublic 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
 
 - 
peerDrProtectionGroupIdpublic 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
 
 - 
peerRegionpublic 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
 
 - 
logLocationpublic DrPlanExecutionSummary.Builder logLocation(ObjectStorageLogLocation logLocation) 
 - 
timeCreatedpublic 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
 
 - 
timeStartedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
timeEndedpublic 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
 
 - 
executionDurationInSecpublic 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
 
 - 
lifecycleStatepublic DrPlanExecutionSummary.Builder lifecycleState(DrPlanExecutionLifecycleState lifecycleState) The current state of the DR plan execution.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifeCycleDetailspublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic DrPlanExecutionSummary build() 
 - 
copypublic DrPlanExecutionSummary.Builder copy(DrPlanExecutionSummary model) 
 
- 
 
-