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