#[non_exhaustive]pub struct AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails {
pub scan_ec2_instance_with_findings: Option<AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails>,
pub service_role: Option<String>,
}
Expand description
An object that contains information on the status of Malware Protection as a data source for the detector.
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<AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails>
Describes the configuration of Malware Protection for EC2 instances with findings.
service_role: Option<String>
The GuardDuty Malware Protection service role.
Implementations§
source§impl AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
sourcepub fn scan_ec2_instance_with_findings(
&self
) -> Option<&AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails>
pub fn scan_ec2_instance_with_findings( &self ) -> Option<&AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsDetails>
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 AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
sourcepub fn builder(
) -> AwsGuardDutyDetectorDataSourcesMalwareProtectionDetailsBuilder
pub fn builder( ) -> AwsGuardDutyDetectorDataSourcesMalwareProtectionDetailsBuilder
Creates a new builder-style object to manufacture AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
.
Trait Implementations§
source§impl Clone for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl Clone for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
source§fn clone(&self) -> AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
fn clone(&self) -> AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
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 AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl PartialEq for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
source§fn eq(
&self,
other: &AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
) -> bool
fn eq( &self, other: &AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl Send for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl Sync for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl Unpin for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
impl UnwindSafe for AwsGuardDutyDetectorDataSourcesMalwareProtectionDetails
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.