Package com.enonic.xp.attachment

## Class CreateAttachment.Builder

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

- Enclosing class:
    CreateAttachment

      public static class CreateAttachment.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder()` |
    `Builder​(CreateAttachment source)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `CreateAttachment` | `build()` |
    `CreateAttachment.Builder` | `byteSource​(ByteSource value)` |
    `CreateAttachment.Builder` | `label​(String value)` |
    `CreateAttachment.Builder` | `mimeType​(String value)` |
    `CreateAttachment.Builder` | `name​(String value)` |
    `CreateAttachment.Builder` | `text​(String value)` |

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder()

    - #### Builder

          public Builder​(CreateAttachment source)

  - ### Method Detail

    - #### mimeType

          public CreateAttachment.Builder mimeType​(String value)

    - #### name

          public CreateAttachment.Builder name​(String value)

    - #### label

          public CreateAttachment.Builder label​(String value)

    - #### byteSource

          public CreateAttachment.Builder byteSource​(ByteSource value)

    - #### text

          public CreateAttachment.Builder text​(String value)

    - #### build

          public CreateAttachment build()