withB

public static EitherOf2<A, B> withB<A extends Message, B extends Message>(B b)

Creates a new instance with <B> value.