Package com.azure.cosmos.models
Class CosmosConflictProperties
java.lang.Object
com.azure.cosmos.models.CosmosConflictProperties
The type Cosmos conflict properties.
-
Method Summary
Modifier and TypeMethodDescriptiongetETag()
Get the entity tag associated with the resource.getId()
Gets the name of the resource.<T> T
Gets the conflicting resource in the Azure Cosmos DB service.com.azure.cosmos.implementation.OperationKind
Gets the operation kind.Get the last modified timestamp associated with the resource.Sets the name of the resource.
-
Method Details
-
getOperationKind
public com.azure.cosmos.implementation.OperationKind getOperationKind()Gets the operation kind.- Returns:
- the operation kind.
-
getItem
Gets the conflicting resource in the Azure Cosmos DB service.- Type Parameters:
T
- the type of the object.- Parameters:
klass
- The returned type of conflicting resource.- Returns:
- The conflicting resource.
-
getId
Gets the name of the resource.- Returns:
- the name of the resource.
-
setId
Sets the name of the resource.- Parameters:
id
- the name of the resource.- Returns:
- the current instance of
CosmosConflictProperties
.
-
getTimestamp
Get the last modified timestamp associated with the resource. This is only relevant when getting response from the server.- Returns:
- the timestamp.
-
getETag
Get the entity tag associated with the resource. This is only relevant when getting response from the server.- Returns:
- the e tag.
-