Package com.enonic.xp.attachment

## Class Attachments.Builder

- java.lang.Object
- - com.enonic.xp.attachment.Attachments.Builder

- Enclosing class:
    Attachments

      public static class Attachments.Builder
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Attachments.Builder` | `add​(Attachment attachment)` |
    `Attachments.Builder` | `addAll​(Attachments attachments)` | Deprecated.
    `Attachments` | `build()` |

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

    - #### add

          public Attachments.Builder add​(Attachment attachment)

    - #### addAll

          @Deprecated
          public Attachments.Builder addAll​(Attachments attachments)

      Deprecated.

    - #### build

          public Attachments build()