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