Class CodeFilePath
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.CodeFilePath
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeFilePath.Builder,CodeFilePath>
@Generated("software.amazon.awssdk:codegen") public final class CodeFilePath extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeFilePath.Builder,CodeFilePath>
Contains information on where a code vulnerability is located in your Lambda function.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeFilePath.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeFilePath.Builderbuilder()IntegerendLine()The line number of the last line of code that a vulnerability was found in.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileName()The name of the file the code vulnerability was found in.StringfilePath()The file path to the code that a vulnerability was found in.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CodeFilePath.Builder>serializableBuilderClass()IntegerstartLine()The line number of the first line of code that a vulnerability was found in.CodeFilePath.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
-
endLine
public final Integer endLine()
The line number of the last line of code that a vulnerability was found in.
- Returns:
- The line number of the last line of code that a vulnerability was found in.
-
fileName
public final String fileName()
The name of the file the code vulnerability was found in.
- Returns:
- The name of the file the code vulnerability was found in.
-
filePath
public final String filePath()
The file path to the code that a vulnerability was found in.
- Returns:
- The file path to the code that a vulnerability was found in.
-
startLine
public final Integer startLine()
The line number of the first line of code that a vulnerability was found in.
- Returns:
- The line number of the first line of code that a vulnerability was found in.
-
toBuilder
public CodeFilePath.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeFilePath.Builder,CodeFilePath>
-
builder
public static CodeFilePath.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeFilePath.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.
-
-