org.springframework.batch.item.support.builder

## Class SynchronizedItemStreamWriterBuilder<T>

- java.lang.Object
- - org.springframework.batch.item.support.builder.SynchronizedItemStreamWriterBuilder<T>

-     public class SynchronizedItemStreamWriterBuilder<T>
      extends java.lang.Object

  Creates a fully qualified `SynchronizedItemStreamWriter`.
  Author:
    Dimitrios Liapis, Mahmoud Ben Hassine

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SynchronizedItemStreamWriterBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SynchronizedItemStreamWriter<T>` | `build()` Returns a fully constructed `SynchronizedItemStreamWriter`.
    `SynchronizedItemStreamWriterBuilder<T>` | `delegate(ItemStreamWriter<T> delegate)` Set the delegate `ItemStreamWriter`.

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

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

- - ### Constructor Detail

    - #### SynchronizedItemStreamWriterBuilder

          public SynchronizedItemStreamWriterBuilder()

  - ### Method Detail

    - #### delegate

          public SynchronizedItemStreamWriterBuilder<T> delegate(ItemStreamWriter<T> delegate)

      Set the delegate `ItemStreamWriter`.
      Parameters:
        `delegate` - the delegate to set
      Returns:
        this instance for method chaining

    - #### build

          public SynchronizedItemStreamWriter<T> build()

      Returns a fully constructed `SynchronizedItemStreamWriter`.
      Returns:
        a new `SynchronizedItemStreamWriter`