public static final class FragmentDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier and Type | Method and Description |
---|---|
FragmentDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
FragmentDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
FragmentDefinition |
build() |
FragmentDefinition.Builder |
comments(java.util.List<Comment> comments) |
FragmentDefinition.Builder |
directive(Directive directive) |
FragmentDefinition.Builder |
directives(java.util.List<Directive> directives) |
FragmentDefinition.Builder |
ignoredChars(IgnoredChars ignoredChars) |
FragmentDefinition.Builder |
name(java.lang.String name) |
FragmentDefinition.Builder |
selectionSet(SelectionSet selectionSet) |
FragmentDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
FragmentDefinition.Builder |
typeCondition(TypeName typeCondition) |
public FragmentDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public FragmentDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public FragmentDefinition.Builder name(java.lang.String name)
public FragmentDefinition.Builder typeCondition(TypeName typeCondition)
public FragmentDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public FragmentDefinition.Builder directive(Directive directive)
directive
in interface NodeDirectivesBuilder
public FragmentDefinition.Builder selectionSet(SelectionSet selectionSet)
public FragmentDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public FragmentDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public FragmentDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public FragmentDefinition build()