### YamlMime:JavaType uid: "com.azure.cosmos.models.CosmosDatabaseProperties" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties" name: "CosmosDatabaseProperties" nameWithType: "CosmosDatabaseProperties" summary: "Represents a CosmosAsyncDatabase in the Azure Cosmos database service." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **CosmosDatabaseProperties**" constructors: - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.CosmosDatabaseProperties(java.lang.String)" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.CosmosDatabaseProperties(String id)" name: "CosmosDatabaseProperties(String id)" nameWithType: "CosmosDatabaseProperties.CosmosDatabaseProperties(String id)" summary: "Constructor" parameters: - description: "id of the database" name: "id" type: "String" syntax: "public CosmosDatabaseProperties(String id)" desc: "Constructor" methods: - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.getETag()" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.getETag()" name: "getETag()" nameWithType: "CosmosDatabaseProperties.getETag()" summary: "Get the entity tag associated with the resource." syntax: "public String getETag()" desc: "Get the entity tag associated with the resource. This is only relevant when getting response from the server." returns: description: "the e tag." type: "String" - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.getId()" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.getId()" name: "getId()" nameWithType: "CosmosDatabaseProperties.getId()" summary: "Gets the name of the resource." syntax: "public String getId()" desc: "Gets the name of the resource." returns: description: "the name of the resource." type: "String" - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.getResourceId()" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.getResourceId()" name: "getResourceId()" nameWithType: "CosmosDatabaseProperties.getResourceId()" summary: "Gets the ID associated with the resource." syntax: "public String getResourceId()" desc: "Gets the ID associated with the resource." returns: description: "the ID associated with the resource." type: "String" - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.getTimestamp()" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.getTimestamp()" name: "getTimestamp()" nameWithType: "CosmosDatabaseProperties.getTimestamp()" summary: "Get the last modified timestamp associated with the resource." syntax: "public Instant getTimestamp()" desc: "Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server." returns: description: "the timestamp." type: "Instant" - uid: "com.azure.cosmos.models.CosmosDatabaseProperties.setId(java.lang.String)" fullName: "com.azure.cosmos.models.CosmosDatabaseProperties.setId(String id)" name: "setId(String id)" nameWithType: "CosmosDatabaseProperties.setId(String id)" summary: "Sets the name of the resource." parameters: - description: "the name of the resource." name: "id" type: "String" syntax: "public CosmosDatabaseProperties setId(String id)" desc: "Sets the name of the resource." returns: description: "the current instance of ." type: "" type: "class" desc: "Represents a CosmosAsyncDatabase in the Azure Cosmos database service. A cosmos database manages users, permissions and a set of containers\n\nEach Azure Cosmos DB Service is able to support multiple independent named databases, with the database being the logical container for data. Each Database consists of one or more cosmos containers, each of which in turn contain one or more cosmos items. Since databases are an an administrative resource and the Service Key will be required in order to access and successfully complete any action using the User APIs." metadata: {} package: "com.azure.cosmos.models" artifact: com.azure:azure-cosmos:4.63.4