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