Package com.azure.data.cosmos
Class DatabaseAccountLocation
- java.lang.Object
-
- com.azure.data.cosmos.JsonSerializable
-
- com.azure.data.cosmos.DatabaseAccountLocation
-
public class DatabaseAccountLocation extends JsonSerializable
Represents the location of a database account in the Azure Cosmos DB database service.
-
-
Constructor Summary
Constructors Constructor Description DatabaseAccountLocation()
DEFAULT Constructor.DatabaseAccountLocation(String jsonString)
Creates a new instance of the DatabaseAccountLocation object from a JSON string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endpoint()
Gets The endpoint (the URI) of the database account location.String
name()
Gets The name of the database account location.-
Methods inherited from class com.azure.data.cosmos.JsonSerializable
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
-
-
-
-
Constructor Detail
-
DatabaseAccountLocation
public DatabaseAccountLocation()
DEFAULT Constructor. Creates a new instance of the DatabaseAccountLocation object.
-
DatabaseAccountLocation
public DatabaseAccountLocation(String jsonString)
Creates a new instance of the DatabaseAccountLocation object from a JSON string.- Parameters:
jsonString
- the JSON string that represents the DatabaseAccountLocation object.
-
-