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