Struct aws_sdk_securityhub::model::file_paths::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FilePaths
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn file_path(self, input: impl Into<String>) -> Self
pub fn file_path(self, input: impl Into<String>) -> Self
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn set_file_path(self, input: Option<String>) -> Self
pub fn set_file_path(self, input: Option<String>) -> Self
Path to the infected or suspicious file on the resource it was detected on.
sourcepub fn file_name(self, input: impl Into<String>) -> Self
pub fn file_name(self, input: impl Into<String>) -> Self
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn set_file_name(self, input: Option<String>) -> Self
pub fn set_file_name(self, input: Option<String>) -> Self
The name of the infected or suspicious file corresponding to the hash.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
sourcepub fn hash(self, input: impl Into<String>) -> Self
pub fn hash(self, input: impl Into<String>) -> Self
The hash value for the infected or suspicious file.