Class CodeErrorLocation
- java.lang.Object
-
- software.amazon.awssdk.services.appsync.model.CodeErrorLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeErrorLocation.Builder,CodeErrorLocation>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeErrorLocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeErrorLocation.Builderbuilder()Integercolumn()The column number in the code.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerline()The line number in the code.List<SdkField<?>>sdkFields()static Class<? extends CodeErrorLocation.Builder>serializableBuilderClass()Integerspan()The span/length of the error.CodeErrorLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
line
public final Integer line()
The line number in the code. Defaults to
0if unknown.- Returns:
- The line number in the code. Defaults to
0if unknown.
-
column
public final Integer column()
The column number in the code. Defaults to
0if unknown.- Returns:
- The column number in the code. Defaults to
0if unknown.
-
span
public final Integer span()
The span/length of the error. Defaults to
-1if unknown.- Returns:
- The span/length of the error. Defaults to
-1if unknown.
-
toBuilder
public CodeErrorLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeErrorLocation.Builder,CodeErrorLocation>
-
builder
public static CodeErrorLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeErrorLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-