Package graphql.language
Class OperationDefinition.Builder
- java.lang.Object
-
- graphql.language.OperationDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- OperationDefinition
public static final class OperationDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
Method Summary
-
-
-
Method Detail
-
sourceLocation
public OperationDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public OperationDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
name
public OperationDefinition.Builder name(java.lang.String name)
-
operation
public OperationDefinition.Builder operation(OperationDefinition.Operation operation)
-
variableDefinitions
public OperationDefinition.Builder variableDefinitions(java.util.List<VariableDefinition> variableDefinitions)
-
variableDefinition
public OperationDefinition.Builder variableDefinition(VariableDefinition variableDefinition)
-
directives
public OperationDefinition.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public OperationDefinition.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
selectionSet
public OperationDefinition.Builder selectionSet(SelectionSet selectionSet)
-
ignoredChars
public OperationDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public OperationDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public OperationDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public OperationDefinition build()
-
-