Class ActivityTrackerEvents.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public ActivityTrackerEvents build()
      Builds a ActivityTrackerEvents.
      Returns:
      the new ActivityTrackerEvents instance
    • addTypes

      public ActivityTrackerEvents.Builder addTypes(String types)
      Adds a new element to types.
      Parameters:
      types - the new element to be added
      Returns:
      the ActivityTrackerEvents builder
    • types

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