public static final class UnionTypeOptions.Builder
extends java.lang.Object
UnionTypeOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UnionTypeOptions |
build()
Builds the configured instance.
|
UnionTypeOptions.Builder |
definition(java.util.List<? extends IIntermediateType> definition)
Sets the value of
UnionTypeOptions.getDefinition() |
public UnionTypeOptions.Builder definition(java.util.List<? extends IIntermediateType> definition)
UnionTypeOptions.getDefinition()
definition
- the object types for this union type. This parameter is required.this
public UnionTypeOptions build()
UnionTypeOptions
java.lang.NullPointerException
- if any required attribute was not provided