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 building
Copyright instances.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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.
-
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.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.
-