Class CosmosDatabaseRequestOptions


  • public class CosmosDatabaseRequestOptions
    extends Object
    Encapsulates options that can be specified for a request issued to cosmos database.
    • Constructor Detail

      • CosmosDatabaseRequestOptions

        public CosmosDatabaseRequestOptions()
    • 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