Package com.ibm.cloud.cloudant.v1.model
Class PostActivityTrackerEventsOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostActivityTrackerEventsOptions.Builder
- Enclosing class:
PostActivityTrackerEventsOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivityTrackerEvents
(ActivityTrackerEvents activityTrackerEvents) Set the activityTrackerEvents.Adds a new element to types.build()
Builds a PostActivityTrackerEventsOptions.Set the types.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
types
- the types
-
-
Method Details
-
build
Builds a PostActivityTrackerEventsOptions.- Returns:
- the new PostActivityTrackerEventsOptions instance
-
addTypes
Adds a new element to types.- Parameters:
types
- the new element to be added- Returns:
- the PostActivityTrackerEventsOptions builder
-
types
Set the types. Existing types will be replaced.- Parameters:
types
- the types- Returns:
- the PostActivityTrackerEventsOptions builder
-
activityTrackerEvents
public PostActivityTrackerEventsOptions.Builder activityTrackerEvents(ActivityTrackerEvents activityTrackerEvents) Set the activityTrackerEvents.- Parameters:
activityTrackerEvents
- the activityTrackerEvents- Returns:
- the PostActivityTrackerEventsOptions builder
-