Package com.enonic.xp.media

## Class MediaInfo.Builder

- java.lang.Object
- - com.enonic.xp.media.MediaInfo.Builder

- Enclosing class:
    MediaInfo

      public static class MediaInfo.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `MediaInfo.Builder` | `addMetadata​(String name, String value)` |
    `MediaInfo` | `build()` |
    `MediaInfo.Builder` | `mediaType​(String value)` |
    `MediaInfo.Builder` | `setTextContent​(String textContent)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### mediaType

          public MediaInfo.Builder mediaType​(String value)

    - #### addMetadata

          public MediaInfo.Builder addMetadata​(String name,
                                               String value)

    - #### setTextContent

          public MediaInfo.Builder setTextContent​(String textContent)

    - #### build

          public MediaInfo build()