Class GetSchedulerDocsOptions.Builder

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

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

    • Builder

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

    • build

      public GetSchedulerDocsOptions build()
      Builds a GetSchedulerDocsOptions.
      Returns:
      the new GetSchedulerDocsOptions instance
    • addStates

      public GetSchedulerDocsOptions.Builder addStates(String states)
      Adds a new element to states.
      Parameters:
      states - the new element to be added
      Returns:
      the GetSchedulerDocsOptions builder
    • limit

      public GetSchedulerDocsOptions.Builder limit(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the GetSchedulerDocsOptions builder
    • skip

      public GetSchedulerDocsOptions.Builder skip(long skip)
      Set the skip.
      Parameters:
      skip - the skip
      Returns:
      the GetSchedulerDocsOptions builder
    • states

      public GetSchedulerDocsOptions.Builder states(List<String> states)
      Set the states. Existing states will be replaced.
      Parameters:
      states - the states
      Returns:
      the GetSchedulerDocsOptions builder