DatabaseAccountLocation Class
- java.
lang. Object - JsonSerializable
- com.
microsoft. azure. cosmosdb. DatabaseAccountLocation
- com.
public class DatabaseAccountLocation extends JsonSerializable
Represents the location of a database account in the Azure Cosmos DB database service.
Constructor Summary
Constructor | Description |
---|---|
DatabaseAccountLocation(String jsonString) |
Creates a new instance of the DatabaseAccountLocation object from a JSON string. |
Method Summary
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. |
Inherited Members
Constructor Details
DatabaseAccountLocation
public DatabaseAccountLocation(String jsonString)
Creates a new instance of the DatabaseAccountLocation object from a JSON string.
Parameters:
Method Details
getEndpoint
public String getEndpoint()
Gets The endpoint (the URI) of the database account location.
Returns:
getName
public String getName()
Gets The name of the database account location.
Returns:
setEndpoint
public void setEndpoint(String endpoint)
Sets the endpoint (the URI) of the database account location.
Parameters:
setName
public void setName(String name)
Sets the name of the database account location.
Parameters:
Applies to
Azure SDK for Java