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