public static class AssociateDrProtectionGroupDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public AssociateDrProtectionGroupDetails.Builder peerId(String peerId)
The OCID of the peer DR protection group.
Example: ocid1.drprotectiongroup.oc1..uniqueID
peerId
- the value to setpublic AssociateDrProtectionGroupDetails.Builder peerRegion(String peerRegion)
The region of the peer DR protection group.
Example: us-ashburn-1
peerRegion
- the value to setpublic AssociateDrProtectionGroupDetails.Builder role(DrProtectionGroupRole role)
The role of the DR protection group.
Example: STANDBY
role
- the value to setpublic AssociateDrProtectionGroupDetails build()
public AssociateDrProtectionGroupDetails.Builder copy(AssociateDrProtectionGroupDetails model)
Copyright © 2016–2024. All rights reserved.