Class FilePaths
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.FilePaths
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FilePaths.Builder,FilePaths>
@Generated("software.amazon.awssdk:codegen") public final class FilePaths extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilePaths.Builder,FilePaths>
Provides information about the file paths that were affected by the threat.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilePaths.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilePaths.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfileName()The name of the infected or suspicious file corresponding to the hash.StringfilePath()Path to the infected or suspicious file on the resource it was detected on.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Stringhash()The hash value for the infected or suspicious file.inthashCode()StringresourceId()The Amazon Resource Name (ARN) of the resource on which the threat was detected.List<SdkField<?>>sdkFields()static Class<? extends FilePaths.Builder>serializableBuilderClass()FilePaths.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
-
filePath
public final String filePath()
Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
- Returns:
- Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
-
fileName
public final String fileName()
The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
- Returns:
- The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
-
resourceId
public final String resourceId()
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
- Returns:
- The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
-
hash
public final String hash()
The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
- Returns:
- The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
-
toBuilder
public FilePaths.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FilePaths.Builder,FilePaths>
-
builder
public static FilePaths.Builder builder()
-
serializableBuilderClass
public static Class<? extends FilePaths.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.
-
-