Class PartnerRegionInfo
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.PartnerRegionInfo
-
public final class PartnerRegionInfo extends Object
Partner region information for the failover group.
-
-
Constructor Summary
Constructors Constructor Description PartnerRegionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: Geo location of the partner managed instances.InstanceFailoverGroupReplicationRolereplicationRole()Get the replicationRole property: Replication role of the partner managed instances.voidvalidate()Validates the instance.PartnerRegionInfowithLocation(String location)Set the location property: Geo location of the partner managed instances.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Geo location of the partner managed instances.- Returns:
- the location value.
-
withLocation
public PartnerRegionInfo withLocation(String location)
Set the location property: Geo location of the partner managed instances.- Parameters:
location- the location value to set.- Returns:
- the PartnerRegionInfo object itself.
-
replicationRole
public InstanceFailoverGroupReplicationRole replicationRole()
Get the replicationRole property: Replication role of the partner managed instances.- Returns:
- the replicationRole value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-