Package com.azure.data.cosmos
Class CosmosPermissionRequestOptions
- java.lang.Object
-
- com.azure.data.cosmos.CosmosPermissionRequestOptions
-
public class CosmosPermissionRequestOptions extends Object
Contains the request options of CosmosPermission
-
-
Constructor Summary
Constructors Constructor Description CosmosPermissionRequestOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessCondition
accessCondition()
Gets the conditions associated with the request.CosmosPermissionRequestOptions
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 CosmosPermissionRequestOptions accessCondition(AccessCondition accessCondition)
Sets the conditions associated with the request.- Parameters:
accessCondition
- the access condition.- Returns:
- the current request options
-
-