Class DatabaseAccountLocation


  • public class DatabaseAccountLocation
    extends JsonSerializable
    Represents the location of a database account in the Azure Cosmos DB database service.
    • 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.
    • Method Detail

      • name

        public String name()
        Gets The name of the database account location.
        Returns:
        the name of the database account location.
      • endpoint

        public String endpoint()
        Gets The endpoint (the URI) of the database account location.
        Returns:
        the endpoint of the database account location.