Class DrPlanSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrPlanSummary.Builder
 
- 
- Enclosing class:
- DrPlanSummary
 
 public static class DrPlanSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrPlanSummarybuild()DrPlanSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DR plan.DrPlanSummary.Buildercopy(DrPlanSummary model)DrPlanSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrPlanSummary.BuilderdisplayName(String displayName)The display name of the DR plan.DrPlanSummary.BuilderdrProtectionGroupId(String drProtectionGroupId)The OCID of the DR protection group to which this DR plan belongs.DrPlanSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrPlanSummary.Builderid(String id)The OCID of the DR plan.DrPlanSummary.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR plan’s current state in more detail.DrPlanSummary.BuilderlifecycleState(DrPlanLifecycleState lifecycleState)The current state of the DR plan.DrPlanSummary.BuilderlifecycleSubState(DrPlanLifecycleSubState lifecycleSubState)The current sub state of the DR plan.DrPlanSummary.BuilderpeerDrProtectionGroupId(String peerDrProtectionGroupId)The OCID of the peer DR protection group associated with this plan’s DR protection group.DrPlanSummary.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group associated with this plan’s DR protection group.DrPlanSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrPlanSummary.BuildertimeCreated(Date timeCreated)The date and time the DR plan was created.DrPlanSummary.BuildertimeUpdated(Date timeUpdated)The date and time the DR plan was updated.DrPlanSummary.Buildertype(DrPlanType type)The type of the DR plan.
 
- 
- 
- 
Method Detail- 
idpublic DrPlanSummary.Builder id(String id) The OCID of the DR plan.Example: ocid1.drplan.oc1..uniqueID - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DrPlanSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the DR plan.Example: ocid1.compartment.oc1..uniqueID - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DrPlanSummary.Builder displayName(String displayName) The display name of the DR plan.Example: EBS Switchover PHX to IAD - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic DrPlanSummary.Builder type(DrPlanType type) The type of the DR plan.Example: SWITCHOVER - Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
drProtectionGroupIdpublic DrPlanSummary.Builder drProtectionGroupId(String drProtectionGroupId) The OCID of the DR protection group to which this DR plan belongs.Example: ocid1.drprotectiongroup.oc1..uniqueID - Parameters:
- drProtectionGroupId- the value to set
- Returns:
- this builder
 
 - 
peerDrProtectionGroupIdpublic DrPlanSummary.Builder peerDrProtectionGroupId(String peerDrProtectionGroupId) The OCID of the 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 DrPlanSummary.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
 
 - 
timeCreatedpublic DrPlanSummary.Builder timeCreated(Date timeCreated) The date and time the DR plan was created.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DrPlanSummary.Builder timeUpdated(Date timeUpdated) The date and time the DR plan was updated.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DrPlanSummary.Builder lifecycleState(DrPlanLifecycleState lifecycleState) The current state of the DR plan.Example: ACTIVE - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleSubStatepublic DrPlanSummary.Builder lifecycleSubState(DrPlanLifecycleSubState lifecycleSubState) The current sub state of the DR plan.Example: NEEDS_REFRESH - Parameters:
- lifecycleSubState- the value to set
- Returns:
- this builder
 
 - 
lifeCycleDetailspublic DrPlanSummary.Builder lifeCycleDetails(String lifeCycleDetails) A message describing the DR plan’s current state in more detail.- Parameters:
- lifeCycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary.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 DrPlanSummary build() 
 - 
copypublic DrPlanSummary.Builder copy(DrPlanSummary model) 
 
- 
 
-