Class Revisions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public Revisions build()
      Builds a Revisions.
      Returns:
      the new Revisions instance
    • addIds

      public Revisions.Builder addIds(String ids)
      Adds a new element to ids.
      Parameters:
      ids - the new element to be added
      Returns:
      the Revisions builder
    • ids

      public Revisions.Builder ids(List<String> ids)
      Set the ids. Existing ids will be replaced.
      Parameters:
      ids - the ids
      Returns:
      the Revisions builder
    • start

      public Revisions.Builder start(long start)
      Set the start.
      Parameters:
      start - the start
      Returns:
      the Revisions builder