Class PostRevsDiffOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(String db, Map<String,List<String>> documentRevisions)
      Instantiates a new builder with required properties.
      Parameters:
      db - the db
      documentRevisions - the documentRevisions
  • Method Details

    • build

      public PostRevsDiffOptions build()
      Builds a PostRevsDiffOptions.
      Returns:
      the new PostRevsDiffOptions instance
    • db

      Set the db.
      Parameters:
      db - the db
      Returns:
      the PostRevsDiffOptions builder
    • documentRevisions

      public PostRevsDiffOptions.Builder documentRevisions(Map<String,List<String>> documentRevisions)
      Set the documentRevisions.
      Parameters:
      documentRevisions - the documentRevisions
      Returns:
      the PostRevsDiffOptions builder