Package graphql.language
Class ObjectTypeDefinition.Builder
- java.lang.Object
-
- graphql.language.ObjectTypeDefinition.Builder
-
- All Implemented Interfaces:
NodeBuilder
,NodeDirectivesBuilder
- Enclosing class:
- ObjectTypeDefinition
public static final class ObjectTypeDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
-
-
Method Summary
-
-
-
Method Detail
-
sourceLocation
public ObjectTypeDefinition.Builder sourceLocation(SourceLocation sourceLocation)
- Specified by:
sourceLocation
in interfaceNodeBuilder
-
comments
public ObjectTypeDefinition.Builder comments(java.util.List<Comment> comments)
- Specified by:
comments
in interfaceNodeBuilder
-
name
public ObjectTypeDefinition.Builder name(java.lang.String name)
-
description
public ObjectTypeDefinition.Builder description(Description description)
-
implementz
public ObjectTypeDefinition.Builder implementz(java.util.List<Type> implementz)
-
implementz
public ObjectTypeDefinition.Builder implementz(Type implement)
-
directives
public ObjectTypeDefinition.Builder directives(java.util.List<Directive> directives)
- Specified by:
directives
in interfaceNodeDirectivesBuilder
-
directive
public ObjectTypeDefinition.Builder directive(Directive directive)
- Specified by:
directive
in interfaceNodeDirectivesBuilder
-
fieldDefinitions
public ObjectTypeDefinition.Builder fieldDefinitions(java.util.List<FieldDefinition> fieldDefinitions)
-
fieldDefinition
public ObjectTypeDefinition.Builder fieldDefinition(FieldDefinition fieldDefinition)
-
ignoredChars
public ObjectTypeDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
- Specified by:
ignoredChars
in interfaceNodeBuilder
-
additionalData
public ObjectTypeDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
- Specified by:
additionalData
in interfaceNodeBuilder
-
additionalData
public ObjectTypeDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
- Specified by:
additionalData
in interfaceNodeBuilder
-
build
public ObjectTypeDefinition build()
-
-