Class CodeVulnerabilitiesFilePath
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.CodeVulnerabilitiesFilePath
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeVulnerabilitiesFilePath.Builder,CodeVulnerabilitiesFilePath>
@Generated("software.amazon.awssdk:codegen") public final class CodeVulnerabilitiesFilePath extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeVulnerabilitiesFilePath.Builder,CodeVulnerabilitiesFilePath>
Provides details about 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 interfaceCodeVulnerabilitiesFilePath.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeVulnerabilitiesFilePath.Builderbuilder()IntegerendLine()The line number of the last line of code in which the vulnerability is located.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileName()The name of the file in which the code vulnerability is located.StringfilePath()The file path to the code in which the vulnerability is located.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CodeVulnerabilitiesFilePath.Builder>serializableBuilderClass()IntegerstartLine()The line number of the first line of code in which the vulnerability is located.CodeVulnerabilitiesFilePath.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 in which the vulnerability is located.
- Returns:
- The line number of the last line of code in which the vulnerability is located.
-
fileName
public final String fileName()
The name of the file in which the code vulnerability is located.
- Returns:
- The name of the file in which the code vulnerability is located.
-
filePath
public final String filePath()
The file path to the code in which the vulnerability is located.
- Returns:
- The file path to the code in which the vulnerability is located.
-
startLine
public final Integer startLine()
The line number of the first line of code in which the vulnerability is located.
- Returns:
- The line number of the first line of code in which the vulnerability is located.
-
toBuilder
public CodeVulnerabilitiesFilePath.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeVulnerabilitiesFilePath.Builder,CodeVulnerabilitiesFilePath>
-
builder
public static CodeVulnerabilitiesFilePath.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeVulnerabilitiesFilePath.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-