public class Location extends Object
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
String |
documentEndpoint()
Get the connection endpoint for the specific region.
|
Integer |
failoverPriority()
Get the failover priority of the region.
|
String |
id()
Get the unique identifier of the region within the database account.
|
Boolean |
isZoneRedundant()
Get flag to indicate whether or not this region is an AvailabilityZone region.
|
String |
locationName()
Get the name of the region.
|
String |
provisioningState()
Get the provisioningState value.
|
Location |
withFailoverPriority(Integer failoverPriority)
Set the failover priority of the region.
|
Location |
withIsZoneRedundant(Boolean isZoneRedundant)
Set flag to indicate whether or not this region is an AvailabilityZone region.
|
Location |
withLocationName(String locationName)
Set the name of the region.
|
Location |
withProvisioningState(String provisioningState)
Set the provisioningState value.
|
public String id()
public String locationName()
public Location withLocationName(String locationName)
locationName
- the locationName value to setpublic String documentEndpoint()
public String provisioningState()
public Location withProvisioningState(String provisioningState)
provisioningState
- the provisioningState value to setpublic Integer failoverPriority()
public Location withFailoverPriority(Integer failoverPriority)
failoverPriority
- the failoverPriority value to setpublic Boolean isZoneRedundant()
Copyright © 2019. All rights reserved.