Class Image.ImageBuilder<C extends Image, B extends Image.ImageBuilder<C,B> >
java.lang.Object
com.amilesend.tvmaze.client.model.Resource.ResourceBuilder<Image, ResourceLink, C, B>
com.amilesend.tvmaze.client.model.Image.ImageBuilder<C,B>
- Enclosing class:
Image
public abstract static class Image.ImageBuilder<C extends Image, B extends Image.ImageBuilder<C,B>>
extends Resource.ResourceBuilder<Image, ResourceLink, C, B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()main(boolean main) Flag indicator to signify if the image is the primary/default one.resolutions(ImageResolutions resolutions) The URLs and dimensions for the image content.toString()The image type (e.g., poster).Methods inherited from class Resource.ResourceBuilder
id, links
-
Constructor Details
-
ImageBuilder
public ImageBuilder()
-
-
Method Details
-
type
-
main
Flag indicator to signify if the image is the primary/default one.- Returns:
this.
-
resolutions
The URLs and dimensions for the image content.- Returns:
this.
-
build
- Specified by:
buildin classResource.ResourceBuilder<Image, ResourceLink, C extends Image, B extends Image.ImageBuilder<C,B>>
-
toString
- Overrides:
toStringin classResource.ResourceBuilder<Image, ResourceLink, C extends Image, B extends Image.ImageBuilder<C,B>>
-