public class CosmosConflictProperties extends Resource
Modifier and Type | Method and Description |
---|---|
String |
getOperationKind()
Gets the operation kind.
|
<T extends Resource> |
getResource(Class<T> klass)
Gets the conflicting resource in the Azure Cosmos DB service.
|
String |
getResourceType()
Gets the type of the conflicting resource.
|
getETag, getId, getResourceId, getSelfLink, getTimestamp, setId, setResourceId
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
public String getOperationKind()
public String getResourceType()
public <T extends Resource> T getResource(Class<T> klass)
T
- the type of the object.klass
- The returned type of conflicting resource.IllegalStateException
- thrown if an error occursCopyright © 2020 Microsoft Corporation. All rights reserved.