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