Interface PayloadAccessor.PayloadBuilder<P,B extends PayloadAccessor.PayloadBuilder<P,B>>

Type Parameters:
P - The type of the payload to be carried.
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
PayloadAccessor<P>

public static interface PayloadAccessor.PayloadBuilder<P,B extends PayloadAccessor.PayloadBuilder<P,B>>
Provides a builder method for a payload property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withPayload(P aPayload)
    Sets the payload for the payload property.
  • Method Details

    • withPayload

      B withPayload(P aPayload)
      Sets the payload for the payload property.
      Parameters:
      aPayload - The payload to be stored by the payload property.
      Returns:
      The builder for applying multiple build operations.