Class Disallows.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Disallows.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Disallows
Builder class for building
Disallows
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setDisallowedActions
(EnumSet<Action> disallowedActions) Set the set of disallowed actions.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setDisallowedActions
Set the set of disallowed actions.- Parameters:
disallowedActions
- The set of disallowed actions.- Returns:
- A
Disallows.Builder
.
-
build
Description copied from interface:IModelObject.Builder
Build a model object with the information set in the builder object.
The type of the model object and its methods depend on its corresponding implementation.- Returns:
- A model object.
-