public static final class ScalarTypeDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
ScalarTypeDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
ScalarTypeDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
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) |
public ScalarTypeDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public ScalarTypeDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public ScalarTypeDefinition.Builder name(java.lang.String name)
public ScalarTypeDefinition.Builder description(Description description)
public ScalarTypeDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public ScalarTypeDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public ScalarTypeDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public ScalarTypeDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public ScalarTypeDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public ScalarTypeDefinition build()