Struct aws_sdk_securityhub::model::malware::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Malware
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the malware that was observed.
sourcepub fn type(self, input: MalwareType) -> Self
pub fn type(self, input: MalwareType) -> Self
The type of the malware that was observed.
sourcepub fn set_type(self, input: Option<MalwareType>) -> Self
pub fn set_type(self, input: Option<MalwareType>) -> Self
The type of the malware that was observed.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The file system path of the malware that was observed.
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The file system path of the malware that was observed.
sourcepub fn state(self, input: MalwareState) -> Self
pub fn state(self, input: MalwareState) -> Self
The state of the malware that was observed.
sourcepub fn set_state(self, input: Option<MalwareState>) -> Self
pub fn set_state(self, input: Option<MalwareState>) -> Self
The state of the malware that was observed.