public final class CosmosDatabaseRequestOptions extends Object
| Constructor and Description |
|---|
CosmosDatabaseRequestOptions() |
| 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.
|
CosmosDatabaseRequestOptions |
setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
CosmosDatabaseRequestOptions |
setIfNoneMatchETag(String ifNoneMatchETag)
Sets the If-None-Match (ETag) associated with the request in the Azure Cosmos DB service.
|
public String getIfMatchETag()
public CosmosDatabaseRequestOptions setIfMatchETag(String ifMatchETag)
ifMatchETag - the ifMatchETag associated with the request.public String getIfNoneMatchETag()
public CosmosDatabaseRequestOptions setIfNoneMatchETag(String ifNoneMatchETag)
ifNoneMatchETag - the ifNoneMatchETag associated with the request.Copyright © 2020 Microsoft Corporation. All rights reserved.