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
Builder class for building
ExternalId instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a model object with the information set in the builder object.setExternalIds(Map<String, String> externalIds) External IDs setter.
-
Constructor Details
-
Builder
public Builder()Default constructor.
-
-
Method Details
-
setExternalIds
External IDs setter.- Parameters:
externalIds- AMapof external IDs, containing external identifiers for the object.- Returns:
- A
ExternalId.Builder.
-
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.
-