public class DatabaseAccountLocation extends JsonSerializable
Constructor and Description |
---|
DatabaseAccountLocation(org.json.JSONObject jsonObject)
Creates a new instance of the DatabaseAccountLocation object from a
JSON object.
|
DatabaseAccountLocation(String jsonString)
Creates a new instance of the DatabaseAccountLocation object from a JSON
string.
|
Modifier and Type | Method and Description |
---|---|
String |
getEndpoint()
Gets The endpoint (the URI) of the database account location.
|
String |
getName()
Gets The name of the database account location.
|
void |
setEndpoint(String endpoint)
Sets the endpoint (the URI) of the database account location.
|
void |
setName(String name)
Sets the name of the database account location.
|
get, getBoolean, getCollection, getCollection, getDouble, getHashMap, getInt, getLogger, getLong, getMapper, getObject, getObject, getObjectByPath, getString, has, remove, set, toJson, toJson, toObject, toString
public DatabaseAccountLocation(String jsonString)
jsonString
- the JSON string that represents the DatabaseAccountLocation object.public DatabaseAccountLocation(org.json.JSONObject jsonObject)
jsonObject
- the JSON object that represents the DatabaseAccountLocation object.public String getName()
public void setName(String name)
name
- the name of the database account location.public String getEndpoint()
public void setEndpoint(String endpoint)
endpoint
- the endpoint of the database account location.Copyright © 2018. All rights reserved.