Package graphql.language
Class DirectiveDefinition.Builder
- java.lang.Object
-
- graphql.language.DirectiveDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
- Enclosing class:
- DirectiveDefinition
public static final class DirectiveDefinition.Builder extends java.lang.Object implements NodeBuilder
-
-
Method Summary
-
-
-
Method Detail
-
sourceLocation
public DirectiveDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public DirectiveDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
name
public DirectiveDefinition.Builder name(java.lang.String name)
-
repeatable
public DirectiveDefinition.Builder repeatable(boolean repeatable)
-
description
public DirectiveDefinition.Builder description(Description description)
-
inputValueDefinitions
public DirectiveDefinition.Builder inputValueDefinitions(java.util.List<InputValueDefinition> inputValueDefinitions)
-
inputValueDefinition
public DirectiveDefinition.Builder inputValueDefinition(InputValueDefinition inputValueDefinition)
-
directiveLocations
public DirectiveDefinition.Builder directiveLocations(java.util.List<DirectiveLocation> directiveLocations)
-
directiveLocation
public DirectiveDefinition.Builder directiveLocation(DirectiveLocation directiveLocation)
-
ignoredChars
public DirectiveDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public DirectiveDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public DirectiveDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public DirectiveDefinition build()
-
-