你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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