Class SnapshotResult.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.special.SnapshotResult.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
SnapshotResult
Builder class for building
SnapshotResult
instances.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.setSnapshotId
(String snapshotId) Sets the snapshot ID of the playlist.
-
Field Details
-
snapshotId
The snapshot ID of the playlist.
-
-
Constructor Details
-
Builder
public Builder()Default constructor.
-
-
Method Details
-
setSnapshotId
Sets the snapshot ID of the playlist.- Parameters:
snapshotId
- the snapshot ID- Returns:
- this builder instance for method chaining
-
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.
-