Package com.enonic.xp.node

## Class SnapshotResult.Builder

- java.lang.Object
- - com.enonic.xp.node.SnapshotResult.Builder

- Enclosing class:
    SnapshotResult

      public static final class SnapshotResult.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SnapshotResult` | `build()` |
    `SnapshotResult.Builder` | `indices​(Collection<String> indices)` |
    `SnapshotResult.Builder` | `name​(String name)` |
    `SnapshotResult.Builder` | `reason​(String reason)` |
    `SnapshotResult.Builder` | `state​(SnapshotResult.State state)` |
    `SnapshotResult.Builder` | `timestamp​(Instant timestamp)` |

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

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

- - ### Method Detail

    - #### indices

          public SnapshotResult.Builder indices​(Collection<String> indices)

    - #### state

          public SnapshotResult.Builder state​(SnapshotResult.State state)

    - #### reason

          public SnapshotResult.Builder reason​(String reason)

    - #### name

          public SnapshotResult.Builder name​(String name)

    - #### timestamp

          public SnapshotResult.Builder timestamp​(Instant timestamp)

    - #### build

          public SnapshotResult build()