public static final class SelectionSet.Builder extends java.lang.Object implements NodeBuilder
Modifier and Type | Method and Description |
---|---|
SelectionSet.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
SelectionSet.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
SelectionSet |
build() |
SelectionSet.Builder |
comments(java.util.List<Comment> comments) |
SelectionSet.Builder |
ignoredChars(IgnoredChars ignoredChars) |
SelectionSet.Builder |
selection(Selection selection) |
SelectionSet.Builder |
selections(java.util.Collection<? extends Selection> selections) |
SelectionSet.Builder |
sourceLocation(SourceLocation sourceLocation) |
public SelectionSet.Builder selections(java.util.Collection<? extends Selection> selections)
public SelectionSet.Builder selection(Selection selection)
public SelectionSet.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public SelectionSet.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public SelectionSet.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public SelectionSet.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public SelectionSet.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public SelectionSet build()