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