public static final class EnumTypeDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
EnumTypeDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
EnumTypeDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
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 |
ignoredChars(IgnoredChars ignoredChars) |
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)
directives
in interface NodeDirectivesBuilder
public EnumTypeDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public EnumTypeDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public EnumTypeDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public EnumTypeDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public EnumTypeDefinition build()