Struct aws_sdk_securityhub::types::builders::FilePathsBuilder
source · #[non_exhaustive]pub struct FilePathsBuilder { /* private fields */ }
Expand description
A builder for FilePaths
.
Implementations§
source§impl FilePathsBuilder
impl FilePathsBuilder
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 get_file_path(&self) -> &Option<String>
pub fn get_file_path(&self) -> &Option<String>
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 get_file_name(&self) -> &Option<String>
pub fn get_file_name(&self) -> &Option<String>
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 get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
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.
Trait Implementations§
source§impl Clone for FilePathsBuilder
impl Clone for FilePathsBuilder
source§fn clone(&self) -> FilePathsBuilder
fn clone(&self) -> FilePathsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilePathsBuilder
impl Debug for FilePathsBuilder
source§impl Default for FilePathsBuilder
impl Default for FilePathsBuilder
source§fn default() -> FilePathsBuilder
fn default() -> FilePathsBuilder
source§impl PartialEq for FilePathsBuilder
impl PartialEq for FilePathsBuilder
source§fn eq(&self, other: &FilePathsBuilder) -> bool
fn eq(&self, other: &FilePathsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.