Class Copyright.Builder
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.Builder
se.michaelthelin.spotify.model_objects.specification.Copyright.Builder
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
Copyright
Builder class for building
Copyright
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a model object with the information set in the builder object.The copyright text setter.setType
(CopyrightType type) The copyright type setter.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setText
The copyright text setter.- Parameters:
text
- The copyright text for this album.- Returns:
- A
Copyright.Builder
-
setType
The copyright type setter.- Parameters:
type
- The type of copyright: C = the copyright, P = the sound recording (performance) copyright.- Returns:
- A
Copyright.Builder
-
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.
-