#[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
source§impl PartialEq for AwsGuardDutyDetectorDetails
impl PartialEq for AwsGuardDutyDetectorDetails
source§fn eq(&self, other: &AwsGuardDutyDetectorDetails) -> bool
fn eq(&self, other: &AwsGuardDutyDetectorDetails) -> bool
self
and other
values to be equal, and is used
by ==
.