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 building Disallows instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • 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.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.