public class ManagedInstancePairInfo
extends Object
Pairs of Managed Instances in the failover group.
-
Constructor Summary
Constructors
-
Method Summary
Get id of Partner Managed Instance in pair.
Get id of Primary Managed Instance in pair.
Set id of Partner Managed Instance in pair.
Set id of Primary Managed Instance in pair.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ManagedInstancePairInfo
public ManagedInstancePairInfo()
-
Method Details
-
primaryManagedInstanceId
public String primaryManagedInstanceId()
Get id of Primary Managed Instance in pair.
- Returns:
- the primaryManagedInstanceId value
-
withPrimaryManagedInstanceId
Set id of Primary Managed Instance in pair.
- Parameters:
primaryManagedInstanceId
- the primaryManagedInstanceId value to set
- Returns:
- the ManagedInstancePairInfo object itself.
-
partnerManagedInstanceId
public String partnerManagedInstanceId()
Get id of Partner Managed Instance in pair.
- Returns:
- the partnerManagedInstanceId value
-
withPartnerManagedInstanceId
Set id of Partner Managed Instance in pair.
- Parameters:
partnerManagedInstanceId
- the partnerManagedInstanceId value to set
- Returns:
- the ManagedInstancePairInfo object itself.