Class ExternalId.Builder

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.ExternalId.Builder
All Implemented Interfaces:
IModelObject.Builder
Enclosing class:
ExternalId

public static final class ExternalId.Builder extends AbstractModelObject.Builder
Builder class for building ExternalId instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setExternalIds

      public ExternalId.Builder setExternalIds(Map<String,String> externalIds)
      External IDs setter.
      Parameters:
      externalIds - A Map of external IDs, containing external identifiers for the object.
      Returns:
      A ExternalId.Builder.
    • build

      public ExternalId 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.