@Generated(value="software.amazon.awssdk:codegen") public final class CodeError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeError.Builder,CodeError>
Describes an AppSync error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorType()
The type of code error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CodeErrorLocation |
location()
The line, column, and span location of the error in the code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeError.Builder> |
serializableBuilderClass() |
CodeError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
A user presentable error.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String errorType()
The type of code error.
Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.
Examples include, but aren't limited to: LINT_ERROR, PARSER_ERROR.
public final String value()
A user presentable error.
Examples include, but aren't limited to: Parsing error: Unterminated string literal.
Examples include, but aren't limited to: Parsing error: Unterminated string literal.
public final CodeErrorLocation location()
The line, column, and span location of the error in the code.
public CodeError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeError.Builder,CodeError>public static CodeError.Builder builder()
public static Class<? extends CodeError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.