org.springframework.batch.item.amqp.builder

## Class AmqpItemWriterBuilder<T>

- java.lang.Object
- - org.springframework.batch.item.amqp.builder.AmqpItemWriterBuilder<T>

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

  A builder implementation for the `AmqpItemWriter`
  Since:
    4.0
  Author:
    Glenn Renfro
  See Also:
    `AmqpItemWriter`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AmqpItemWriterBuilder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AmqpItemWriterBuilder<T>` | `amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)` Establish the amqpTemplate to be used by the AmqpItemWriter.
    `AmqpItemWriter<T>` | `build()` Validates and builds a `AmqpItemWriter`.

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

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

- - ### Constructor Detail

    - #### AmqpItemWriterBuilder

          public AmqpItemWriterBuilder()

  - ### Method Detail

    - #### amqpTemplate

          public AmqpItemWriterBuilder<T> amqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)

      Establish the amqpTemplate to be used by the AmqpItemWriter.
      Parameters:
        `amqpTemplate` - the template to be used.
      Returns:
        this instance for method chaining
      See Also:
        `AmqpItemWriter(AmqpTemplate)`

    - #### build

          public AmqpItemWriter<T> build()

      Validates and builds a `AmqpItemWriter`.
      Returns:
        a `AmqpItemWriter`