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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityTrackerEvents
(ActivityTrackerEvents activityTrackerEvents) Set the activityTrackerEvents.Adds an types 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 an types to types.- Parameters:
types
- the new types- 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
-