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