public static final class EnumTypeDefinition.Builder extends java.lang.Object implements NodeBuilder
Modifier and Type | Method and Description |
---|---|
EnumTypeDefinition |
build() |
EnumTypeDefinition.Builder |
comments(java.util.List<Comment> comments) |
EnumTypeDefinition.Builder |
description(Description description) |
EnumTypeDefinition.Builder |
directive(Directive directive) |
EnumTypeDefinition.Builder |
directives(java.util.List<Directive> directives) |
EnumTypeDefinition.Builder |
enumValueDefinition(EnumValueDefinition enumValueDefinition) |
EnumTypeDefinition.Builder |
enumValueDefinitions(java.util.List<EnumValueDefinition> enumValueDefinitions) |
EnumTypeDefinition.Builder |
name(java.lang.String name) |
EnumTypeDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
public EnumTypeDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public EnumTypeDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public EnumTypeDefinition.Builder name(java.lang.String name)
public EnumTypeDefinition.Builder description(Description description)
public EnumTypeDefinition.Builder enumValueDefinitions(java.util.List<EnumValueDefinition> enumValueDefinitions)
public EnumTypeDefinition.Builder enumValueDefinition(EnumValueDefinition enumValueDefinition)
public EnumTypeDefinition.Builder directives(java.util.List<Directive> directives)
public EnumTypeDefinition.Builder directive(Directive directive)
public EnumTypeDefinition build()