Interface SubjectAccessor.SubjectBuilder<B extends SubjectAccessor.SubjectBuilder<B>>

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

public static interface SubjectAccessor.SubjectBuilder<B extends SubjectAccessor.SubjectBuilder<B>>
Provides a builder method for the according property returning the builder for applying multiple build operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    <S> B
    withSubject(S aSubject)
    Sets the value for the subject property.
  • Method Details

    • withSubject

      <S> B withSubject(S aSubject)
      Sets the value for the subject property.
      Type Parameters:
      S - The expected type of the subject.
      Parameters:
      aSubject - The value to be stored by the subject property.
      Returns:
      The builder for applying multiple build operations.