public static final class OperationDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
public OperationDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public OperationDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public OperationDefinition.Builder name(java.lang.String name)
public OperationDefinition.Builder operation(OperationDefinition.Operation operation)
public OperationDefinition.Builder variableDefinitions(java.util.List<VariableDefinition> variableDefinitions)
public OperationDefinition.Builder variableDefinition(VariableDefinition variableDefinition)
public OperationDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public OperationDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public OperationDefinition.Builder selectionSet(SelectionSet selectionSet)
public OperationDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public OperationDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public OperationDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public OperationDefinition build()