#[non_exhaustive]pub struct AnalyzerSummaryBuilder { /* private fields */ }Expand description
A builder for AnalyzerSummary.
Implementations§
source§impl AnalyzerSummaryBuilder
impl AnalyzerSummaryBuilder
sourcepub fn type(self, input: Type) -> Self
pub fn type(self, input: Type) -> Self
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
sourcepub fn set_type(self, input: Option<Type>) -> Self
pub fn set_type(self, input: Option<Type>) -> Self
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
A timestamp for the time at which the analyzer was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
A timestamp for the time at which the analyzer was created.
sourcepub fn last_resource_analyzed(self, input: impl Into<String>) -> Self
pub fn last_resource_analyzed(self, input: impl Into<String>) -> Self
The resource that was most recently analyzed by the analyzer.
sourcepub fn set_last_resource_analyzed(self, input: Option<String>) -> Self
pub fn set_last_resource_analyzed(self, input: Option<String>) -> Self
The resource that was most recently analyzed by the analyzer.
sourcepub fn last_resource_analyzed_at(self, input: DateTime) -> Self
pub fn last_resource_analyzed_at(self, input: DateTime) -> Self
The time at which the most recently analyzed resource was analyzed.
sourcepub fn set_last_resource_analyzed_at(self, input: Option<DateTime>) -> Self
pub fn set_last_resource_analyzed_at(self, input: Option<DateTime>) -> Self
The time at which the most recently analyzed resource was analyzed.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags added to the analyzer.
The tags added to the analyzer.
sourcepub fn status(self, input: AnalyzerStatus) -> Self
pub fn status(self, input: AnalyzerStatus) -> Self
The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.
sourcepub fn set_status(self, input: Option<AnalyzerStatus>) -> Self
pub fn set_status(self, input: Option<AnalyzerStatus>) -> Self
The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.
sourcepub fn status_reason(self, input: StatusReason) -> Self
pub fn status_reason(self, input: StatusReason) -> Self
The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.
sourcepub fn set_status_reason(self, input: Option<StatusReason>) -> Self
pub fn set_status_reason(self, input: Option<StatusReason>) -> Self
The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.
sourcepub fn build(self) -> AnalyzerSummary
pub fn build(self) -> AnalyzerSummary
Consumes the builder and constructs a AnalyzerSummary.
Trait Implementations§
source§impl Clone for AnalyzerSummaryBuilder
impl Clone for AnalyzerSummaryBuilder
source§fn clone(&self) -> AnalyzerSummaryBuilder
fn clone(&self) -> AnalyzerSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyzerSummaryBuilder
impl Debug for AnalyzerSummaryBuilder
source§impl Default for AnalyzerSummaryBuilder
impl Default for AnalyzerSummaryBuilder
source§fn default() -> AnalyzerSummaryBuilder
fn default() -> AnalyzerSummaryBuilder
source§impl PartialEq<AnalyzerSummaryBuilder> for AnalyzerSummaryBuilder
impl PartialEq<AnalyzerSummaryBuilder> for AnalyzerSummaryBuilder
source§fn eq(&self, other: &AnalyzerSummaryBuilder) -> bool
fn eq(&self, other: &AnalyzerSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.