Class AssociateDrProtectionGroupDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.disasterrecovery.model.AssociateDrProtectionGroupDetails.Builder
 
- 
- Enclosing class:
- AssociateDrProtectionGroupDetails
 
 public static class AssociateDrProtectionGroupDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateDrProtectionGroupDetailsbuild()AssociateDrProtectionGroupDetails.Buildercopy(AssociateDrProtectionGroupDetails model)AssociateDrProtectionGroupDetails.BuilderpeerId(String peerId)The OCID of the peer DR protection group.AssociateDrProtectionGroupDetails.BuilderpeerRegion(String peerRegion)The region of the peer DR protection group.AssociateDrProtectionGroupDetails.Builderrole(DrProtectionGroupRole role)The role of the DR protection group.
 
- 
- 
- 
Method Detail- 
peerIdpublic AssociateDrProtectionGroupDetails.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 AssociateDrProtectionGroupDetails.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
 
 - 
rolepublic AssociateDrProtectionGroupDetails.Builder role(DrProtectionGroupRole role) The role of the DR protection group.Example: STANDBY - Parameters:
- role- the value to set
- Returns:
- this builder
 
 - 
buildpublic AssociateDrProtectionGroupDetails build() 
 - 
copypublic AssociateDrProtectionGroupDetails.Builder copy(AssociateDrProtectionGroupDetails model) 
 
- 
 
-