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