InstanceFailoverGroupInner Class

public final class InstanceFailoverGroupInner
extends ProxyResource

An instance failover group.

Constructor Summary

Constructor Description
InstanceFailoverGroupInner()

Creates an instance of InstanceFailoverGroupInner class.

Method Summary

Modifier and Type Method and Description
List<ManagedInstancePairInfo> managedInstancePairs()

Get the managedInstancePairs property: List of managed instance pairs in the failover group.

List<PartnerRegionInfo> partnerRegions()

Get the partnerRegions property: Partner region information for the failover group.

InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint()

Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.

InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint()

Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.

InstanceFailoverGroupReplicationRole replicationRole()

Get the replicationRole property: Local replication role of the failover group instance.

String replicationState()

Get the replicationState property: Replication state of the failover group instance.

void validate()

Validates the instance.

InstanceFailoverGroupInner withManagedInstancePairs(List<ManagedInstancePairInfo> managedInstancePairs)

Set the managedInstancePairs property: List of managed instance pairs in the failover group.

InstanceFailoverGroupInner withPartnerRegions(List<PartnerRegionInfo> partnerRegions)

Set the partnerRegions property: Partner region information for the failover group.

InstanceFailoverGroupInner withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)

Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.

InstanceFailoverGroupInner withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)

Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

InstanceFailoverGroupInner

public InstanceFailoverGroupInner()

Creates an instance of InstanceFailoverGroupInner class.

Method Details

managedInstancePairs

public List managedInstancePairs()

Get the managedInstancePairs property: List of managed instance pairs in the failover group.

Returns:

the managedInstancePairs value.

partnerRegions

public List partnerRegions()

Get the partnerRegions property: Partner region information for the failover group.

Returns:

the partnerRegions value.

readOnlyEndpoint

public InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint()

Get the readOnlyEndpoint property: Read-only endpoint of the failover group instance.

Returns:

the readOnlyEndpoint value.

readWriteEndpoint

public InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint()

Get the readWriteEndpoint property: Read-write endpoint of the failover group instance.

Returns:

the readWriteEndpoint value.

replicationRole

public InstanceFailoverGroupReplicationRole replicationRole()

Get the replicationRole property: Local replication role of the failover group instance.

Returns:

the replicationRole value.

replicationState

public String replicationState()

Get the replicationState property: Replication state of the failover group instance.

Returns:

the replicationState value.

validate

public void validate()

Validates the instance.

withManagedInstancePairs

public InstanceFailoverGroupInner withManagedInstancePairs(List managedInstancePairs)

Set the managedInstancePairs property: List of managed instance pairs in the failover group.

Parameters:

managedInstancePairs - the managedInstancePairs value to set.

Returns:

the InstanceFailoverGroupInner object itself.

withPartnerRegions

public InstanceFailoverGroupInner withPartnerRegions(List partnerRegions)

Set the partnerRegions property: Partner region information for the failover group.

Parameters:

partnerRegions - the partnerRegions value to set.

Returns:

the InstanceFailoverGroupInner object itself.

withReadOnlyEndpoint

public InstanceFailoverGroupInner withReadOnlyEndpoint(InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint)

Set the readOnlyEndpoint property: Read-only endpoint of the failover group instance.

Parameters:

readOnlyEndpoint - the readOnlyEndpoint value to set.

Returns:

the InstanceFailoverGroupInner object itself.

withReadWriteEndpoint

public InstanceFailoverGroupInner withReadWriteEndpoint(InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint)

Set the readWriteEndpoint property: Read-write endpoint of the failover group instance.

Parameters:

readWriteEndpoint - the readWriteEndpoint value to set.

Returns:

the InstanceFailoverGroupInner object itself.

Applies to