Struct aws_sdk_guardduty::types::CoverageResource
source · #[non_exhaustive]pub struct CoverageResource {
pub resource_id: Option<String>,
pub detector_id: Option<String>,
pub account_id: Option<String>,
pub resource_details: Option<CoverageResourceDetails>,
pub coverage_status: Option<CoverageStatus>,
pub issue: Option<String>,
pub updated_at: Option<DateTime>,
}Expand description
Information about the resource of the GuardDuty account.
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.resource_id: Option<String>The unique ID of the resource.
detector_id: Option<String>The unique ID of the GuardDuty detector associated with the resource.
account_id: Option<String>The unique ID of the Amazon Web Services account.
resource_details: Option<CoverageResourceDetails>Information about the resource for which the coverage statistics are retrieved.
coverage_status: Option<CoverageStatus>Represents the status of the EKS cluster coverage.
issue: Option<String>Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.
updated_at: Option<DateTime>The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
Implementations§
source§impl CoverageResource
impl CoverageResource
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The unique ID of the resource.
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The unique ID of the GuardDuty detector associated with the resource.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique ID of the Amazon Web Services account.
sourcepub fn resource_details(&self) -> Option<&CoverageResourceDetails>
pub fn resource_details(&self) -> Option<&CoverageResourceDetails>
Information about the resource for which the coverage statistics are retrieved.
sourcepub fn coverage_status(&self) -> Option<&CoverageStatus>
pub fn coverage_status(&self) -> Option<&CoverageStatus>
Represents the status of the EKS cluster coverage.
sourcepub fn issue(&self) -> Option<&str>
pub fn issue(&self) -> Option<&str>
Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
source§impl CoverageResource
impl CoverageResource
sourcepub fn builder() -> CoverageResourceBuilder
pub fn builder() -> CoverageResourceBuilder
Creates a new builder-style object to manufacture CoverageResource.
Trait Implementations§
source§impl Clone for CoverageResource
impl Clone for CoverageResource
source§fn clone(&self) -> CoverageResource
fn clone(&self) -> CoverageResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CoverageResource
impl Debug for CoverageResource
source§impl PartialEq for CoverageResource
impl PartialEq for CoverageResource
source§fn eq(&self, other: &CoverageResource) -> bool
fn eq(&self, other: &CoverageResource) -> bool
self and other values to be equal, and is used
by ==.