Class GetDocumentOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public GetDocumentOptions build()
        Builds a GetDocumentOptions.
        Returns:
        the new GetDocumentOptions instance
      • ifNoneMatch

        public GetDocumentOptions.Builder ifNoneMatch​(String ifNoneMatch)
        Set the ifNoneMatch.
        Parameters:
        ifNoneMatch - the ifNoneMatch
        Returns:
        the GetDocumentOptions builder
      • attachments

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

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

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

        public GetDocumentOptions.Builder deletedConflicts​(Boolean deletedConflicts)
        Set the deletedConflicts.
        Parameters:
        deletedConflicts - the deletedConflicts
        Returns:
        the GetDocumentOptions builder
      • localSeq

        public GetDocumentOptions.Builder localSeq​(Boolean localSeq)
        Set the localSeq.
        Parameters:
        localSeq - the localSeq
        Returns:
        the GetDocumentOptions builder
      • revsInfo

        public GetDocumentOptions.Builder revsInfo​(Boolean revsInfo)
        Set the revsInfo.
        Parameters:
        revsInfo - the revsInfo
        Returns:
        the GetDocumentOptions builder