public static final class FieldDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
FieldDefinition |
build() |
FieldDefinition.Builder |
comments(java.util.List<Comment> comments) |
FieldDefinition.Builder |
description(Description description) |
FieldDefinition.Builder |
directive(Directive directive) |
FieldDefinition.Builder |
directives(java.util.List<Directive> directives) |
FieldDefinition.Builder |
inputValueDefinition(InputValueDefinition inputValueDefinitions) |
FieldDefinition.Builder |
inputValueDefinitions(java.util.List<InputValueDefinition> inputValueDefinitions) |
FieldDefinition.Builder |
name(java.lang.String name) |
FieldDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
FieldDefinition.Builder |
type(Type type) |
public FieldDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public FieldDefinition.Builder name(java.lang.String name)
public FieldDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public FieldDefinition.Builder type(Type type)
public FieldDefinition.Builder description(Description description)
public FieldDefinition.Builder inputValueDefinitions(java.util.List<InputValueDefinition> inputValueDefinitions)
public FieldDefinition.Builder inputValueDefinition(InputValueDefinition inputValueDefinitions)
public FieldDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public FieldDefinition.Builder directive(Directive directive)
public FieldDefinition build()