Class GetDbUpdatesOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public GetDbUpdatesOptions build()
      Builds a GetDbUpdatesOptions.
      Returns:
      the new GetDbUpdatesOptions instance
    • descending

      public GetDbUpdatesOptions.Builder descending(Boolean descending)
      Set the descending.
      Parameters:
      descending - the descending
      Returns:
      the GetDbUpdatesOptions builder
    • feed

      public GetDbUpdatesOptions.Builder feed(String feed)
      Set the feed.
      Parameters:
      feed - the feed
      Returns:
      the GetDbUpdatesOptions builder
    • heartbeat

      public GetDbUpdatesOptions.Builder heartbeat(long heartbeat)
      Set the heartbeat.
      Parameters:
      heartbeat - the heartbeat
      Returns:
      the GetDbUpdatesOptions builder
    • limit

      public GetDbUpdatesOptions.Builder limit(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the GetDbUpdatesOptions builder
    • timeout

      public GetDbUpdatesOptions.Builder timeout(long timeout)
      Set the timeout.
      Parameters:
      timeout - the timeout
      Returns:
      the GetDbUpdatesOptions builder
    • since

      public GetDbUpdatesOptions.Builder since(String since)
      Set the since.
      Parameters:
      since - the since
      Returns:
      the GetDbUpdatesOptions builder