public final class CosmosConflictRequestOptions extends Object
| Constructor and Description |
|---|
CosmosConflictRequestOptions() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIfMatchETag()
Gets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
String |
getIfNoneMatchETag()
Gets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosConflictRequestOptions |
setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosConflictRequestOptions |
setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
public String getIfMatchETag()
public CosmosConflictRequestOptions setIfMatchETag(String ifMatchETag)
ifMatchETag - the ifMatchETag associated with the request.public String getIfNoneMatchETag()
public CosmosConflictRequestOptions setIfNoneMatchETag(String ifNoneMatchEtag)
ifNoneMatchEtag - the ifNoneMatchETag associated with the request.Copyright © 2020 Microsoft Corporation. All rights reserved.