public final class CosmosConflictProperties extends Object
Modifier and Type | Method and Description |
---|---|
String |
getETag()
Get the entity tag associated with the resource.
|
String |
getId()
Gets the name of the resource.
|
<T> T |
getItem(Class<T> klass)
Gets the conflicting resource in the Azure Cosmos DB service.
|
com.azure.cosmos.implementation.OperationKind |
getOperationKind()
Gets the operation kind.
|
Instant |
getTimestamp()
Get the last modified timestamp associated with the resource.
|
CosmosConflictProperties |
setId(String id)
Sets the name of the resource.
|
public com.azure.cosmos.implementation.OperationKind getOperationKind()
public <T> T getItem(Class<T> klass)
T
- the type of the object.klass
- The returned type of conflicting resource.public String getId()
public CosmosConflictProperties setId(String id)
id
- the name of the resource.CosmosConflictProperties
.public Instant getTimestamp()
public String getETag()
Copyright © 2021 Microsoft Corporation. All rights reserved.