public class FailoverPolicy extends Object
Constructor and Description |
---|
FailoverPolicy() |
Modifier and Type | Method and Description |
---|---|
Integer |
failoverPriority()
Get the failover priority of the region.
|
String |
id()
Get the unique identifier of the region in which the database account replicates to.
|
String |
locationName()
Get the name of the region in which the database account exists.
|
FailoverPolicy |
withFailoverPriority(Integer failoverPriority)
Set the failover priority of the region.
|
FailoverPolicy |
withLocationName(String locationName)
Set the name of the region in which the database account exists.
|
public String id()
public String locationName()
public FailoverPolicy withLocationName(String locationName)
locationName
- the locationName value to setpublic Integer failoverPriority()
public FailoverPolicy withFailoverPriority(Integer failoverPriority)
failoverPriority
- the failoverPriority value to setCopyright © 2019. All rights reserved.