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