### YamlMime:JavaType uid: "com.azure.cosmos.models.CosmosContainerIdentity" fullName: "com.azure.cosmos.models.CosmosContainerIdentity" name: "CosmosContainerIdentity" nameWithType: "CosmosContainerIdentity" summary: "Encapsulates the container link associated with the container." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **CosmosContainerIdentity**" constructors: - uid: "com.azure.cosmos.models.CosmosContainerIdentity.CosmosContainerIdentity(java.lang.String,java.lang.String)" fullName: "com.azure.cosmos.models.CosmosContainerIdentity.CosmosContainerIdentity(String databaseName, String containerName)" name: "CosmosContainerIdentity(String databaseName, String containerName)" nameWithType: "CosmosContainerIdentity.CosmosContainerIdentity(String databaseName, String containerName)" summary: "Instantiates a class" parameters: - description: "the name of the database" name: "databaseName" type: "String" - description: "the name of the container" name: "containerName" type: "String" syntax: "public CosmosContainerIdentity(String databaseName, String containerName)" desc: "Instantiates a class" methods: - uid: "com.azure.cosmos.models.CosmosContainerIdentity.equals(java.lang.Object)" fullName: "com.azure.cosmos.models.CosmosContainerIdentity.equals(Object o)" name: "equals(Object o)" nameWithType: "CosmosContainerIdentity.equals(Object o)" overridden: "java.lang.Object.equals(java.lang.Object)" parameters: - name: "o" type: "Object" syntax: "public boolean equals(Object o)" returns: type: "" - uid: "com.azure.cosmos.models.CosmosContainerIdentity.hashCode()" fullName: "com.azure.cosmos.models.CosmosContainerIdentity.hashCode()" name: "hashCode()" nameWithType: "CosmosContainerIdentity.hashCode()" overridden: "java.lang.Object.hashCode()" syntax: "public int hashCode()" returns: type: "" type: "class" desc: "Encapsulates the container link associated with the container." metadata: {} package: "com.azure.cosmos.models" artifact: com.azure:azure-cosmos:4.63.4