Struct aws_sdk_config::model::evaluation_result::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for EvaluationResult
Implementations
sourceimpl Builder
impl Builder
sourcepub fn evaluation_result_identifier(
self,
input: EvaluationResultIdentifier
) -> Self
pub fn evaluation_result_identifier(
self,
input: EvaluationResultIdentifier
) -> Self
Uniquely identifies the evaluation result.
sourcepub fn set_evaluation_result_identifier(
self,
input: Option<EvaluationResultIdentifier>
) -> Self
pub fn set_evaluation_result_identifier(
self,
input: Option<EvaluationResultIdentifier>
) -> Self
Uniquely identifies the evaluation result.
sourcepub fn compliance_type(self, input: ComplianceType) -> Self
pub fn compliance_type(self, input: ComplianceType) -> Self
Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
sourcepub fn set_compliance_type(self, input: Option<ComplianceType>) -> Self
pub fn set_compliance_type(self, input: Option<ComplianceType>) -> Self
Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the EvaluationResult data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for the EvaluationResult data type.
sourcepub fn result_recorded_time(self, input: DateTime) -> Self
pub fn result_recorded_time(self, input: DateTime) -> Self
The time when Config recorded the evaluation result.
sourcepub fn set_result_recorded_time(self, input: Option<DateTime>) -> Self
pub fn set_result_recorded_time(self, input: Option<DateTime>) -> Self
The time when Config recorded the evaluation result.
sourcepub fn config_rule_invoked_time(self, input: DateTime) -> Self
pub fn config_rule_invoked_time(self, input: DateTime) -> Self
The time when the Config rule evaluated the Amazon Web Services resource.
sourcepub fn set_config_rule_invoked_time(self, input: Option<DateTime>) -> Self
pub fn set_config_rule_invoked_time(self, input: Option<DateTime>) -> Self
The time when the Config rule evaluated the Amazon Web Services resource.
sourcepub fn annotation(self, input: impl Into<String>) -> Self
pub fn annotation(self, input: impl Into<String>) -> Self
Supplementary information about how the evaluation determined the compliance.
sourcepub fn set_annotation(self, input: Option<String>) -> Self
pub fn set_annotation(self, input: Option<String>) -> Self
Supplementary information about how the evaluation determined the compliance.
sourcepub fn result_token(self, input: impl Into<String>) -> Self
pub fn result_token(self, input: impl Into<String>) -> Self
An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.
sourcepub fn set_result_token(self, input: Option<String>) -> Self
pub fn set_result_token(self, input: Option<String>) -> Self
An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.
sourcepub fn build(self) -> EvaluationResult
pub fn build(self) -> EvaluationResult
Consumes the builder and constructs a EvaluationResult
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more