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
public static final class Disallows.Builder extends AbstractModelObject.Builder
Builder class for buildingDisallowsinstances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Disallowsbuild()Build a model object with the information set in the builder object.Disallows.BuildersetDisallowedActions(EnumSet<Action> disallowedActions)Set the set of disallowed actions.
-
-
-
Method Detail
-
setDisallowedActions
public Disallows.Builder setDisallowedActions(EnumSet<Action> disallowedActions)
Set the set of disallowed actions.- Parameters:
disallowedActions- The set of disallowed actions.- Returns:
- A
Disallows.Builder.
-
build
public Disallows build()
Description copied from interface:IModelObject.BuilderBuild 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.
-
-