Package graphql.language
Class Field.Builder
- java.lang.Object
-
- graphql.language.Field.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- Field
public static final class Field.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Field.Builder
additionalData(java.lang.String key, java.lang.String value)
Field.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
Field.Builder
alias(java.lang.String alias)
Field.Builder
arguments(java.util.List<Argument> arguments)
Field
build()
Field.Builder
comments(java.util.List<Comment> comments)
Field.Builder
directive(Directive directive)
Field.Builder
directives(java.util.List<Directive> directives)
Field.Builder
ignoredChars(IgnoredChars ignoredChars)
Field.Builder
name(java.lang.String name)
Field.Builder
selectionSet(SelectionSet selectionSet)
Field.Builder
sourceLocation(SourceLocation sourceLocation)
-
-
-
Method Detail
-
sourceLocation
public Field.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public Field.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
name
public Field.Builder name(java.lang.String name)
-
alias
public Field.Builder alias(java.lang.String alias)
-
arguments
public Field.Builder arguments(java.util.List<Argument> arguments)
-
directives
public Field.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public Field.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
selectionSet
public Field.Builder selectionSet(SelectionSet selectionSet)
-
ignoredChars
public Field.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public Field.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public Field.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public Field build()
-
-