Package com.enonic.xp.site

## Class XDataMapping.Builder

- java.lang.Object
- - com.enonic.xp.site.XDataMapping.Builder

- Enclosing class:
    XDataMapping

      public static class XDataMapping.Builder
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `XDataMapping.Builder` | `allowContentTypes​(String allowContentTypes)` |
    `XDataMapping` | `build()` |
    `XDataMapping.Builder` | `optional​(Boolean optional)` |
    `XDataMapping.Builder` | `xDataName​(XDataName xDataName)` |

    - ### 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

    - #### xDataName

          public XDataMapping.Builder xDataName​(XDataName xDataName)

    - #### allowContentTypes

          public XDataMapping.Builder allowContentTypes​(String allowContentTypes)

    - #### optional

          public XDataMapping.Builder optional​(Boolean optional)

    - #### build

          public XDataMapping build()