#[non_exhaustive]pub struct MalwareProtectionConfigurationResult {
pub scan_ec2_instance_with_findings: Option<ScanEc2InstanceWithFindingsResult>,
pub service_role: Option<String>,
}Expand description
An object that contains information on the status of all Malware Protection data sources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scan_ec2_instance_with_findings: Option<ScanEc2InstanceWithFindingsResult>Describes the configuration of Malware Protection for EC2 instances with findings.
service_role: Option<String>The GuardDuty Malware Protection service role.
Implementations§
source§impl MalwareProtectionConfigurationResult
impl MalwareProtectionConfigurationResult
sourcepub fn scan_ec2_instance_with_findings(
&self
) -> Option<&ScanEc2InstanceWithFindingsResult>
pub fn scan_ec2_instance_with_findings( &self ) -> Option<&ScanEc2InstanceWithFindingsResult>
Describes the configuration of Malware Protection for EC2 instances with findings.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The GuardDuty Malware Protection service role.
source§impl MalwareProtectionConfigurationResult
impl MalwareProtectionConfigurationResult
sourcepub fn builder() -> MalwareProtectionConfigurationResultBuilder
pub fn builder() -> MalwareProtectionConfigurationResultBuilder
Creates a new builder-style object to manufacture MalwareProtectionConfigurationResult.
Trait Implementations§
source§impl Clone for MalwareProtectionConfigurationResult
impl Clone for MalwareProtectionConfigurationResult
source§fn clone(&self) -> MalwareProtectionConfigurationResult
fn clone(&self) -> MalwareProtectionConfigurationResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for MalwareProtectionConfigurationResult
impl PartialEq for MalwareProtectionConfigurationResult
source§fn eq(&self, other: &MalwareProtectionConfigurationResult) -> bool
fn eq(&self, other: &MalwareProtectionConfigurationResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MalwareProtectionConfigurationResult
Auto Trait Implementations§
impl RefUnwindSafe for MalwareProtectionConfigurationResult
impl Send for MalwareProtectionConfigurationResult
impl Sync for MalwareProtectionConfigurationResult
impl Unpin for MalwareProtectionConfigurationResult
impl UnwindSafe for MalwareProtectionConfigurationResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.