public static class ValidationError.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ValidationError |
build() |
ValidationError.Builder |
description(java.lang.String description) |
ValidationError.Builder |
extensions(java.util.Map<java.lang.String,java.lang.Object> extensions) |
ValidationError.Builder |
queryPath(java.util.List<java.lang.String> queryPath) |
ValidationError.Builder |
sourceLocation(SourceLocation sourceLocation) |
ValidationError.Builder |
sourceLocations(java.util.List<SourceLocation> sourceLocations) |
ValidationError.Builder |
validationErrorType(ValidationErrorType validationErrorType) |
public ValidationError.Builder validationErrorType(ValidationErrorType validationErrorType)
public ValidationError.Builder description(java.lang.String description)
public ValidationError.Builder queryPath(java.util.List<java.lang.String> queryPath)
public ValidationError.Builder sourceLocation(SourceLocation sourceLocation)
public ValidationError.Builder sourceLocations(java.util.List<SourceLocation> sourceLocations)
public ValidationError.Builder extensions(java.util.Map<java.lang.String,java.lang.Object> extensions)
public ValidationError build()