Class DrProtectionGroupSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrProtectionGroupSummary.Builder
 
- 
- Enclosing class:
- DrProtectionGroupSummary
 
 public static class DrProtectionGroupSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrProtectionGroupSummarybuild()DrProtectionGroupSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DR protection group.DrProtectionGroupSummary.Buildercopy(DrProtectionGroupSummary model)DrProtectionGroupSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrProtectionGroupSummary.BuilderdisplayName(String displayName)The display name of the DR protection group.DrProtectionGroupSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrProtectionGroupSummary.Builderid(String id)The OCID of the DR protection group.DrProtectionGroupSummary.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR protection group’s current state in more detail.DrProtectionGroupSummary.BuilderlifecycleState(DrProtectionGroupLifecycleState lifecycleState)The current state of the DR protection group.DrProtectionGroupSummary.BuilderlifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)The current sub-state of the DR protection group.DrProtectionGroupSummary.BuilderpeerId(String peerId)The OCID of the peer DR protection group.DrProtectionGroupSummary.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group.DrProtectionGroupSummary.Builderrole(DrProtectionGroupRole role)The role of the DR protection group.DrProtectionGroupSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrProtectionGroupSummary.BuildertimeCreated(Date timeCreated)The date and time the DR protection group was created.DrProtectionGroupSummary.BuildertimeUpdated(Date timeUpdated)The date and time the DR protection group was updated.
 
- 
- 
- 
Method Detail- 
idpublic DrProtectionGroupSummary.Builder id(String id) The OCID of the DR protection group.Example: ocid1.drprotectiongroup.oc1..uniqueID - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DrProtectionGroupSummary.Builder compartmentId(String compartmentId) The OCID of the compartment containing the DR protection group.Example: ocid1.compartment.oc1..uniqueID - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DrProtectionGroupSummary.Builder displayName(String displayName) The display name of the DR protection group.Example: EBS PHX Group - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
rolepublic DrProtectionGroupSummary.Builder role(DrProtectionGroupRole role) The role of the DR protection group.- Parameters:
- role- the value to set
- Returns:
- this builder
 
 - 
peerIdpublic DrProtectionGroupSummary.Builder peerId(String peerId) The OCID of the peer DR protection group.Example: ocid1.drprotectiongroup.oc1..uniqueID - Parameters:
- peerId- the value to set
- Returns:
- this builder
 
 - 
peerRegionpublic DrProtectionGroupSummary.Builder peerRegion(String peerRegion) The region of the peer DR protection group.Example: us-ashburn-1 - Parameters:
- peerRegion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DrProtectionGroupSummary.Builder timeCreated(Date timeCreated) The date and time the DR protection group was created.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DrProtectionGroupSummary.Builder timeUpdated(Date timeUpdated) The date and time the DR protection group was updated.An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DrProtectionGroupSummary.Builder lifecycleState(DrProtectionGroupLifecycleState lifecycleState) The current state of the DR protection group.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifeCycleDetailspublic DrProtectionGroupSummary.Builder lifeCycleDetails(String lifeCycleDetails) A message describing the DR protection group’s current state in more detail.- Parameters:
- lifeCycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleSubStatepublic DrProtectionGroupSummary.Builder lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState) The current sub-state of the DR protection group.- Parameters:
- lifecycleSubState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DrProtectionGroupSummary.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 DrProtectionGroupSummary.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 DrProtectionGroupSummary.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 DrProtectionGroupSummary build() 
 - 
copypublic DrProtectionGroupSummary.Builder copy(DrProtectionGroupSummary model) 
 
- 
 
-