Partager via


CosmosContainerIdentity Class

  • java.lang.Object
    • com.azure.cosmos.models.CosmosContainerIdentity

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