Package graphql.language
Class FieldDefinition.Builder
- java.lang.Object
-
- graphql.language.FieldDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- FieldDefinition
public static final class FieldDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldDefinition.Builder
additionalData(java.lang.String key, java.lang.String value)
FieldDefinition.Builder
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
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
ignoredChars(IgnoredChars ignoredChars)
FieldDefinition.Builder
inputValueDefinition(InputValueDefinition inputValueDefinition)
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)
-
-
-
Method Detail
-
sourceLocation
public FieldDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
name
public FieldDefinition.Builder name(java.lang.String name)
-
comments
public FieldDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
type
public FieldDefinition.Builder type(Type type)
-
description
public FieldDefinition.Builder description(Description description)
-
inputValueDefinitions
public FieldDefinition.Builder inputValueDefinitions(java.util.List<InputValueDefinition> inputValueDefinitions)
-
inputValueDefinition
public FieldDefinition.Builder inputValueDefinition(InputValueDefinition inputValueDefinition)
-
directives
public FieldDefinition.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public FieldDefinition.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
ignoredChars
public FieldDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public FieldDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public FieldDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public FieldDefinition build()
-
-