Class Copyright.Builder
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject.Builder
-
- com.wrapper.spotify.model_objects.specification.Copyright.Builder
-
- All Implemented Interfaces:
IModelObject.Builder
- Enclosing class:
- Copyright
public static final class Copyright.Builder extends AbstractModelObject.Builder
Builder class for buildingCopyrightinstances.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Copyrightbuild()Build a model object with the information set in the builder object.Copyright.BuildersetText(String text)The copyright text setter.Copyright.BuildersetType(CopyrightType type)The copyright type setter.
-
-
-
Method Detail
-
setText
public Copyright.Builder setText(String text)
The copyright text setter.- Parameters:
text- The copyright text for this album.- Returns:
- A
Copyright.Builder
-
setType
public Copyright.Builder setType(CopyrightType type)
The copyright type setter.- Parameters:
type- The type of copyright: C = the copyright, P = the sound recording (performance) copyright.- Returns:
- A
Copyright.Builder
-
build
public Copyright 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.
-
-