Class PostAllDocsOptions.Builder

java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostAllDocsOptions.Builder
Enclosing class:
PostAllDocsOptions

public static class PostAllDocsOptions.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

      public PostAllDocsOptions.Builder addKeys(String keys)
      Adds a new element to keys.
      Parameters:
      keys - the new element to be added
      Returns:
      the PostAllDocsOptions builder
    • db

      Set the db.
      Parameters:
      db - the db
      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
    • endKey

      public PostAllDocsOptions.Builder endKey(String endKey)
      Set the endKey.
      Parameters:
      endKey - the endKey
      Returns:
      the PostAllDocsOptions builder
    • key

      Set the key.
      Parameters:
      key - the key
      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