Package dev.learning.xapi.model
Class Activity.Builder
java.lang.Object
dev.learning.xapi.model.Activity.Builder
- Enclosing class:
- Activity
Builder for Activity.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefinition(ActivityDefinition definition) Sets the definition.definition(Consumer<ActivityDefinition.Builder> definition) Consumer Builder for definition.Sets the identifier.Sets the identifier.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the identifier.- Parameters:
id- The identifier of the Activity.- Returns:
- This builder
- See Also:
-
Activity.id
-
id
Sets the identifier.- Parameters:
id- The identifier of the Activity.- Returns:
- This builder
- See Also:
-
Activity.id
-
definition
Consumer Builder for definition.- Parameters:
definition- The Consumer Builder for definition- Returns:
- This builder
- See Also:
-
Activity.definition
-
definition
Sets the definition.- Parameters:
definition- The definition of the Activity- Returns:
- This builder
- See Also:
-
Activity.definition
-