@Generated(value="software.amazon.awssdk:codegen") public final class CodeErrorLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeErrorLocation.Builder,CodeErrorLocation>
Describes the location of the error in a code sample.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeErrorLocation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeErrorLocation.Builder |
builder() |
Integer |
column()
The column number in the code.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
line()
The line number in the code.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeErrorLocation.Builder> |
serializableBuilderClass() |
Integer |
span()
The span/length of the error.
|
CodeErrorLocation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer line()
The line number in the code. Defaults to 0 if unknown.
0 if unknown.public final Integer column()
The column number in the code. Defaults to 0 if unknown.
0 if unknown.public final Integer span()
The span/length of the error. Defaults to -1 if unknown.
-1 if unknown.public CodeErrorLocation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeErrorLocation.Builder,CodeErrorLocation>public static CodeErrorLocation.Builder builder()
public static Class<? extends CodeErrorLocation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.