Class DrProtectionGroup.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.DrProtectionGroup.Builder
 
- 
- Enclosing class:
- DrProtectionGroup
 
 public static class DrProtectionGroup.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DrProtectionGroupbuild()DrProtectionGroup.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the DR protection group.DrProtectionGroup.Buildercopy(DrProtectionGroup model)DrProtectionGroup.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DrProtectionGroup.BuilderdisplayName(String displayName)The display name of the DR protection group.DrProtectionGroup.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DrProtectionGroup.Builderid(String id)The OCID of the DR protection group.DrProtectionGroup.BuilderlifeCycleDetails(String lifeCycleDetails)A message describing the DR protection group’s current state in more detail.DrProtectionGroup.BuilderlifecycleState(DrProtectionGroupLifecycleState lifecycleState)The current state of the DR protection group.DrProtectionGroup.BuilderlifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState)The current sub-state of the DR protection group.DrProtectionGroup.BuilderlogLocation(ObjectStorageLogLocation logLocation)DrProtectionGroup.Buildermembers(List<DrProtectionGroupMember> members)A list of DR protection group members.DrProtectionGroup.BuilderpeerId(String peerId)The OCID of the peer DR protection group.DrProtectionGroup.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group.DrProtectionGroup.Builderrole(DrProtectionGroupRole role)The role of the DR protection group.DrProtectionGroup.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DrProtectionGroup.BuildertimeCreated(Date timeCreated)The date and time the DR protection group was created.DrProtectionGroup.BuildertimeUpdated(Date timeUpdated)The date and time the DR protection group was updated.
 
- 
- 
- 
Method Detail- 
idpublic DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.Builder role(DrProtectionGroupRole role) The role of the DR protection group.- Parameters:
- role- the value to set
- Returns:
- this builder
 
 - 
peerIdpublic DrProtectionGroup.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 DrProtectionGroup.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
 
 - 
logLocationpublic DrProtectionGroup.Builder logLocation(ObjectStorageLogLocation logLocation) 
 - 
memberspublic DrProtectionGroup.Builder members(List<DrProtectionGroupMember> members) A list of DR protection group members.- Parameters:
- members- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.Builder lifecycleState(DrProtectionGroupLifecycleState lifecycleState) The current state of the DR protection group.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifeCycleDetailspublic DrProtectionGroup.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 DrProtectionGroup.Builder lifecycleSubState(DrProtectionGroupLifecycleSubState lifecycleSubState) The current sub-state of the DR protection group.- Parameters:
- lifecycleSubState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup.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 DrProtectionGroup build() 
 - 
copypublic DrProtectionGroup.Builder copy(DrProtectionGroup model) 
 
- 
 
-