Package com.enonic.xp.content

## Class ContentVersionPublishInfo.Builder

- java.lang.Object
- - com.enonic.xp.content.ContentVersionPublishInfo.Builder

- Enclosing class:
    ContentVersionPublishInfo

      public static class ContentVersionPublishInfo.Builder
      extends Object

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ContentVersionPublishInfo` | `build()` |
    `ContentVersionPublishInfo.Builder` | `contentPublishInfo​(ContentPublishInfo contentPublishInfo)` |
    `ContentVersionPublishInfo.Builder` | `message​(String message)` |
    `ContentVersionPublishInfo.Builder` | `publisher​(PrincipalKey publisher)` |
    `ContentVersionPublishInfo.Builder` | `timestamp​(Instant timestamp)` |
    `ContentVersionPublishInfo.Builder` | `type​(ContentVersionPublishInfo.CommitType type)` |

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

    - #### publisher

          public ContentVersionPublishInfo.Builder publisher​(PrincipalKey publisher)

    - #### timestamp

          public ContentVersionPublishInfo.Builder timestamp​(Instant timestamp)

    - #### message

          public ContentVersionPublishInfo.Builder message​(String message)

    - #### contentPublishInfo

          public ContentVersionPublishInfo.Builder contentPublishInfo​(ContentPublishInfo contentPublishInfo)

    - #### type

          public ContentVersionPublishInfo.Builder type​(ContentVersionPublishInfo.CommitType type)

    - #### build

          public ContentVersionPublishInfo build()