public static final class UnionTypeDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
UnionTypeDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
UnionTypeDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
UnionTypeDefinition |
build() |
UnionTypeDefinition.Builder |
comments(java.util.List<Comment> comments) |
UnionTypeDefinition.Builder |
description(Description description) |
UnionTypeDefinition.Builder |
directive(Directive directive) |
UnionTypeDefinition.Builder |
directives(java.util.List<Directive> directives) |
UnionTypeDefinition.Builder |
ignoredChars(IgnoredChars ignoredChars) |
UnionTypeDefinition.Builder |
memberType(Type memberType) |
UnionTypeDefinition.Builder |
memberTypes(java.util.List<Type> memberTypes) |
UnionTypeDefinition.Builder |
name(java.lang.String name) |
UnionTypeDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
public UnionTypeDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public UnionTypeDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public UnionTypeDefinition.Builder name(java.lang.String name)
public UnionTypeDefinition.Builder description(Description description)
public UnionTypeDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public UnionTypeDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public UnionTypeDefinition.Builder memberTypes(java.util.List<Type> memberTypes)
public UnionTypeDefinition.Builder memberType(Type memberType)
public UnionTypeDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public UnionTypeDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public UnionTypeDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public UnionTypeDefinition build()