Class GenerateUnionDirective<C extends CodegenContext<S,?,?>,S>

Type Parameters:
C - CodegenContext type.
S - Codegen settings type.

public final class GenerateUnionDirective<C extends CodegenContext<S,?,?>,S> extends ShapeDirective<UnionShape,C,S>
Directive used to generate a union.
See Also:
  • Method Details

    • isEventStream

      public boolean isEventStream()
      Check if this is an event stream union.
      Returns:
      Returns true if this is an event stream.