public static final class SchemaExtensionDefinition.Builder extends java.lang.Object implements NodeDirectivesBuilder
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(SchemaDefinition existing) |
Modifier and Type | Method and Description |
---|---|
SchemaExtensionDefinition.Builder |
additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData) |
SchemaExtensionDefinition.Builder |
additionalData(java.lang.String key,
java.lang.String value) |
SchemaExtensionDefinition |
build() |
SchemaExtensionDefinition.Builder |
comments(java.util.List<Comment> comments) |
SchemaExtensionDefinition.Builder |
directive(Directive directive) |
SchemaExtensionDefinition.Builder |
directives(java.util.List<Directive> directives) |
SchemaExtensionDefinition.Builder |
ignoredChars(IgnoredChars ignoredChars) |
SchemaExtensionDefinition.Builder |
operationTypeDefinition(OperationTypeDefinition operationTypeDefinitions) |
SchemaExtensionDefinition.Builder |
operationTypeDefinitions(java.util.List<OperationTypeDefinition> operationTypeDefinitions) |
SchemaExtensionDefinition.Builder |
sourceLocation(SourceLocation sourceLocation) |
protected Builder()
protected Builder(SchemaDefinition existing)
public SchemaExtensionDefinition.Builder sourceLocation(SourceLocation sourceLocation)
sourceLocation
in interface NodeBuilder
public SchemaExtensionDefinition.Builder comments(java.util.List<Comment> comments)
comments
in interface NodeBuilder
public SchemaExtensionDefinition.Builder directives(java.util.List<Directive> directives)
directives
in interface NodeDirectivesBuilder
public SchemaExtensionDefinition.Builder directive(Directive directive)
public SchemaExtensionDefinition.Builder operationTypeDefinitions(java.util.List<OperationTypeDefinition> operationTypeDefinitions)
public SchemaExtensionDefinition.Builder operationTypeDefinition(OperationTypeDefinition operationTypeDefinitions)
public SchemaExtensionDefinition.Builder ignoredChars(IgnoredChars ignoredChars)
ignoredChars
in interface NodeBuilder
public SchemaExtensionDefinition.Builder additionalData(java.util.Map<java.lang.String,java.lang.String> additionalData)
additionalData
in interface NodeBuilder
public SchemaExtensionDefinition.Builder additionalData(java.lang.String key, java.lang.String value)
additionalData
in interface NodeBuilder
public SchemaExtensionDefinition build()