Package graphql.language
Class SchemaExtensionDefinition.Builder
- java.lang.Object
-
- graphql.language.SchemaExtensionDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- SchemaExtensionDefinition
public static final class SchemaExtensionDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
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 SchemaExtensionDefinition.Builder
additionalData(java.lang.String key, java.lang.String value)
SchemaExtensionDefinition.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
SchemaExtensionDefinition
build()
SchemaExtensionDefinition.Builder
comments(java.util.List<Comment> comments)
SchemaExtensionDefinition.Builder
directive(Directive directive)
SchemaExtensionDefinition.Builder
directives(java.util.List<Directive> directives)
SchemaExtensionDefinition.Builder
ignoredChars(IgnoredChars ignoredChars)
SchemaExtensionDefinition.Builder
operationTypeDefinition(OperationTypeDefinition operationTypeDefinition)
SchemaExtensionDefinition.Builder
operationTypeDefinitions(java.util.List<OperationTypeDefinition> operationTypeDefinitions)
SchemaExtensionDefinition.Builder
sourceLocation(SourceLocation sourceLocation)
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(SchemaDefinition existing)
-
-
Method Detail
-
sourceLocation
public SchemaExtensionDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public SchemaExtensionDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
directives
public SchemaExtensionDefinition.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public SchemaExtensionDefinition.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
operationTypeDefinitions
public SchemaExtensionDefinition.Builder operationTypeDefinitions(java.util.List<OperationTypeDefinition> operationTypeDefinitions)
-
operationTypeDefinition
public SchemaExtensionDefinition.Builder operationTypeDefinition(OperationTypeDefinition operationTypeDefinition)
-
ignoredChars
public SchemaExtensionDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public SchemaExtensionDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public SchemaExtensionDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public SchemaExtensionDefinition build()
-
-