Class UIMetaMedia.Builder

  • Enclosing class:
    UIMetaMedia

    public static class UIMetaMedia.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public UIMetaMedia build()
        Builds a UIMetaMedia.
        Returns:
        the new UIMetaMedia instance
      • caption

        public UIMetaMedia.Builder caption​(java.lang.String caption)
        Set the caption.
        Parameters:
        caption - the caption
        Returns:
        the UIMetaMedia builder
      • thumbnailUrl

        public UIMetaMedia.Builder thumbnailUrl​(java.lang.String thumbnailUrl)
        Set the thumbnailUrl.
        Parameters:
        thumbnailUrl - the thumbnailUrl
        Returns:
        the UIMetaMedia builder
      • type

        public UIMetaMedia.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the UIMetaMedia builder
      • url

        public UIMetaMedia.Builder url​(java.lang.String url)
        Set the url.
        Parameters:
        url - the url
        Returns:
        the UIMetaMedia builder
      • source

        public UIMetaMedia.Builder source​(java.util.List<UIMediaSourceMetaData> source)
        Set the source. Existing source will be replaced.
        Parameters:
        source - the source
        Returns:
        the UIMetaMedia builder