CosmosContainerIdentity Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosContainerIdentity
- com.
public final class CosmosContainerIdentity
Encapsulates the container link associated with the container.
Constructor Summary
Constructor | Description |
---|---|
CosmosContainerIdentity(String databaseName, String containerName) |
Instantiates a CosmosContainerIdentity class |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | equals(Object o) |
int | hashCode() |
Methods inherited from java.lang.Object
Constructor Details
CosmosContainerIdentity
public CosmosContainerIdentity(String databaseName, String containerName)
Instantiates a CosmosContainerIdentity class
Parameters:
databaseName
- the name of the database
containerName
- the name of the container
Method Details
equals
public boolean equals(Object o)
Overrides:
CosmosContainerIdentity.equals(Object o)Parameters:
o
hashCode
public int hashCode()
Overrides:
CosmosContainerIdentity.hashCode()Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java