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