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