Class PostAllDocsOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String db)
        Instantiates a new builder with required properties.
        Parameters:
        db - the db
    • Method Detail

      • build

        public PostAllDocsOptions build()
        Builds a PostAllDocsOptions.
        Returns:
        the new PostAllDocsOptions instance
      • addKeys

        public PostAllDocsOptions.Builder addKeys​(String keys)
        Adds an keys to keys.
        Parameters:
        keys - the new keys
        Returns:
        the PostAllDocsOptions builder
      • attEncodingInfo

        public PostAllDocsOptions.Builder attEncodingInfo​(Boolean attEncodingInfo)
        Set the attEncodingInfo.
        Parameters:
        attEncodingInfo - the attEncodingInfo
        Returns:
        the PostAllDocsOptions builder
      • attachments

        public PostAllDocsOptions.Builder attachments​(Boolean attachments)
        Set the attachments.
        Parameters:
        attachments - the attachments
        Returns:
        the PostAllDocsOptions builder
      • conflicts

        public PostAllDocsOptions.Builder conflicts​(Boolean conflicts)
        Set the conflicts.
        Parameters:
        conflicts - the conflicts
        Returns:
        the PostAllDocsOptions builder
      • descending

        public PostAllDocsOptions.Builder descending​(Boolean descending)
        Set the descending.
        Parameters:
        descending - the descending
        Returns:
        the PostAllDocsOptions builder
      • includeDocs

        public PostAllDocsOptions.Builder includeDocs​(Boolean includeDocs)
        Set the includeDocs.
        Parameters:
        includeDocs - the includeDocs
        Returns:
        the PostAllDocsOptions builder
      • inclusiveEnd

        public PostAllDocsOptions.Builder inclusiveEnd​(Boolean inclusiveEnd)
        Set the inclusiveEnd.
        Parameters:
        inclusiveEnd - the inclusiveEnd
        Returns:
        the PostAllDocsOptions builder
      • limit

        public PostAllDocsOptions.Builder limit​(long limit)
        Set the limit.
        Parameters:
        limit - the limit
        Returns:
        the PostAllDocsOptions builder
      • skip

        public PostAllDocsOptions.Builder skip​(long skip)
        Set the skip.
        Parameters:
        skip - the skip
        Returns:
        the PostAllDocsOptions builder
      • updateSeq

        public PostAllDocsOptions.Builder updateSeq​(Boolean updateSeq)
        Set the updateSeq.
        Parameters:
        updateSeq - the updateSeq
        Returns:
        the PostAllDocsOptions builder
      • keys

        public PostAllDocsOptions.Builder keys​(List<String> keys)
        Set the keys. Existing keys will be replaced.
        Parameters:
        keys - the keys
        Returns:
        the PostAllDocsOptions builder
      • startkey

        public PostAllDocsOptions.Builder startkey​(String startkey)
        Set the startkey.
        Parameters:
        startkey - the startkey
        Returns:
        the PostAllDocsOptions builder