Package graphql.language
Class EnumValueDefinition.Builder
- java.lang.Object
-
- graphql.language.EnumValueDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- EnumValueDefinition
public static final class EnumValueDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumValueDefinition.Builder
additionalData(java.lang.String key, java.lang.String value)
EnumValueDefinition.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
EnumValueDefinition
build()
EnumValueDefinition.Builder
comments(java.util.List<Comment> comments)
EnumValueDefinition.Builder
description(Description description)
EnumValueDefinition.Builder
directive(Directive directive)
EnumValueDefinition.Builder
directives(java.util.List<Directive> directives)
EnumValueDefinition.Builder
ignoredChars(IgnoredChars ignoredChars)
EnumValueDefinition.Builder
name(java.lang.String name)
EnumValueDefinition.Builder
sourceLocation(SourceLocation sourceLocation)
-
-
-
Method Detail
-
sourceLocation
public EnumValueDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public EnumValueDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
name
public EnumValueDefinition.Builder name(java.lang.String name)
-
description
public EnumValueDefinition.Builder description(Description description)
-
directives
public EnumValueDefinition.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public EnumValueDefinition.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
ignoredChars
public EnumValueDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public EnumValueDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public EnumValueDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public EnumValueDefinition build()
-
-