public static final class SavedAlbum.Builder extends AbstractModelObject.Builder
SavedAlbum instances.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SavedAlbum |
build()
Build a model object with the information set in the builder object.
|
SavedAlbum.Builder |
setAddedAt(Date addedAt)
Set the "added at" date of the saved album to be built.
|
SavedAlbum.Builder |
setAlbum(Album album)
Set the full album object of the saved album to be built.
|
public SavedAlbum.Builder setAddedAt(Date addedAt)
addedAt - The date and time the album was saved.SavedAlbum.Builder.public SavedAlbum.Builder setAlbum(Album album)
album - Information about the album.SavedAlbum.Builder.public SavedAlbum build()
IModelObject.BuilderCopyright © 2020. All rights reserved.