#[non_exhaustive]pub struct AwsGuardDutyDetectorDetails {
pub data_sources: Option<AwsGuardDutyDetectorDataSourcesDetails>,
pub features: Option<Vec<AwsGuardDutyDetectorFeaturesDetails>>,
pub finding_publishing_frequency: Option<String>,
pub service_role: Option<String>,
pub status: Option<String>,
}Expand description
Provides details about an Amazon GuardDuty detector. A detector is an object that represents the GuardDuty service. A detector is required for GuardDuty to become operational.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_sources: Option<AwsGuardDutyDetectorDataSourcesDetails>Describes which data sources are activated for the detector.
features: Option<Vec<AwsGuardDutyDetectorFeaturesDetails>>Describes which features are activated for the detector.
finding_publishing_frequency: Option<String>The publishing frequency of the finding.
service_role: Option<String>The GuardDuty service role.
status: Option<String>The activation status of the detector.
Implementations§
source§impl AwsGuardDutyDetectorDetails
impl AwsGuardDutyDetectorDetails
sourcepub fn data_sources(&self) -> Option<&AwsGuardDutyDetectorDataSourcesDetails>
pub fn data_sources(&self) -> Option<&AwsGuardDutyDetectorDataSourcesDetails>
Describes which data sources are activated for the detector.
sourcepub fn features(&self) -> &[AwsGuardDutyDetectorFeaturesDetails]
pub fn features(&self) -> &[AwsGuardDutyDetectorFeaturesDetails]
Describes which features are activated for the detector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .features.is_none().
sourcepub fn finding_publishing_frequency(&self) -> Option<&str>
pub fn finding_publishing_frequency(&self) -> Option<&str>
The publishing frequency of the finding.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The GuardDuty service role.
source§impl AwsGuardDutyDetectorDetails
impl AwsGuardDutyDetectorDetails
sourcepub fn builder() -> AwsGuardDutyDetectorDetailsBuilder
pub fn builder() -> AwsGuardDutyDetectorDetailsBuilder
Creates a new builder-style object to manufacture AwsGuardDutyDetectorDetails.
Trait Implementations§
source§impl Clone for AwsGuardDutyDetectorDetails
impl Clone for AwsGuardDutyDetectorDetails
source§fn clone(&self) -> AwsGuardDutyDetectorDetails
fn clone(&self) -> AwsGuardDutyDetectorDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsGuardDutyDetectorDetails
impl Debug for AwsGuardDutyDetectorDetails
impl StructuralPartialEq for AwsGuardDutyDetectorDetails
Auto Trait Implementations§
impl Freeze for AwsGuardDutyDetectorDetails
impl RefUnwindSafe for AwsGuardDutyDetectorDetails
impl Send for AwsGuardDutyDetectorDetails
impl Sync for AwsGuardDutyDetectorDetails
impl Unpin for AwsGuardDutyDetectorDetails
impl UnwindSafe for AwsGuardDutyDetectorDetails
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more