Package com.azure.data.cosmos
Class CosmosDatabaseRequestOptions
- java.lang.Object
-
- com.azure.data.cosmos.CosmosDatabaseRequestOptions
-
public class CosmosDatabaseRequestOptions extends Object
Encapsulates options that can be specified for a request issued to cosmos database.
-
-
Constructor Summary
Constructors Constructor Description CosmosDatabaseRequestOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessCondition
accessCondition()
Gets the conditions associated with the request.CosmosDatabaseRequestOptions
accessCondition(AccessCondition accessCondition)
Sets the conditions associated with the request.
-
-
-
Method Detail
-
accessCondition
public AccessCondition accessCondition()
Gets the conditions associated with the request.- Returns:
- the access condition.
-
accessCondition
public CosmosDatabaseRequestOptions accessCondition(AccessCondition accessCondition)
Sets the conditions associated with the request.- Parameters:
accessCondition
- the access condition.- Returns:
- the current request options
-
-