PartnerRegionInfo Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. PartnerRegionInfo
- com.
Implements
public final class PartnerRegionInfo
implements JsonSerializable<PartnerRegionInfo>
Partner region information for the failover group.
Constructor Summary
Constructor | Description |
---|---|
PartnerRegionInfo() |
Creates an instance of Partner |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Partner |
fromJson(JsonReader jsonReader)
Reads an instance of Partner |
String |
location()
Get the location property: Geo location of the partner managed instances. |
Instance |
replicationRole()
Get the replication |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Partner |
withLocation(String location)
Set the location property: Geo location of the partner managed instances. |
Methods inherited from java.lang.Object
Constructor Details
PartnerRegionInfo
public PartnerRegionInfo()
Creates an instance of PartnerRegionInfo class.
Method Details
fromJson
public static PartnerRegionInfo fromJson(JsonReader jsonReader)
Reads an instance of PartnerRegionInfo from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Geo location of the partner managed instances.
Returns:
replicationRole
public InstanceFailoverGroupReplicationRole replicationRole()
Get the replicationRole property: Replication role of the partner managed instances.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public PartnerRegionInfo withLocation(String location)
Set the location property: Geo location of the partner managed instances.
Parameters:
Returns:
Applies to
Azure SDK for Java