Interface MessageAccessor.MessageBuilder<B extends MessageAccessor.MessageBuilder<B>>

Type Parameters:
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
MessageAccessor

public static interface MessageAccessor.MessageBuilder<B extends MessageAccessor.MessageBuilder<B>>
Provides a builder method for a message property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withMessage(String aMessage)
    Sets the message for the message property.
  • Method Details

    • withMessage

      B withMessage(String aMessage)
      Sets the message for the message property.
      Parameters:
      aMessage - The message to be stored by the message property.
      Returns:
      The builder for applying multiple build operations.