Interface BodyAccessor.BodyBuilder<T,B extends BodyAccessor.BodyBuilder<T,B>>

Type Parameters:
T - the body type
B - The builder to return in order to be able to apply multiple build operations.
Enclosing interface:
BodyAccessor<T>

public static interface BodyAccessor.BodyBuilder<T,B extends BodyAccessor.BodyBuilder<T,B>>
Provides a builder method for a body property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    withBody(T aBody)
    Sets the body for the body property.
  • Method Details

    • withBody

      B withBody(T aBody)
      Sets the body for the body property.
      Parameters:
      aBody - The body to be stored by the body property.
      Returns:
      The builder for applying multiple build operations.