Struct aws_sdk_config::model::evaluation::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for Evaluation
Implementations
sourceimpl Builder
impl Builder
sourcepub fn compliance_resource_type(self, input: impl Into<String>) -> Self
pub fn compliance_resource_type(self, input: impl Into<String>) -> Self
The type of Amazon Web Services resource that was evaluated.
sourcepub fn set_compliance_resource_type(self, input: Option<String>) -> Self
pub fn set_compliance_resource_type(self, input: Option<String>) -> Self
The type of Amazon Web Services resource that was evaluated.
sourcepub fn compliance_resource_id(self, input: impl Into<String>) -> Self
pub fn compliance_resource_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services resource that was evaluated.
sourcepub fn set_compliance_resource_id(self, input: Option<String>) -> Self
pub fn set_compliance_resource_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services resource that was evaluated.
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 it was evaluated against.
For the Evaluation data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.
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 it was evaluated against.
For the Evaluation data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for this data type.
Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.
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 ordering_timestamp(self, input: DateTime) -> Self
pub fn ordering_timestamp(self, input: DateTime) -> Self
The time of the event in Config that triggered the evaluation. For event-based evaluations, the time indicates when Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
sourcepub fn set_ordering_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_ordering_timestamp(self, input: Option<DateTime>) -> Self
The time of the event in Config that triggered the evaluation. For event-based evaluations, the time indicates when Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).
sourcepub fn build(self) -> Evaluation
pub fn build(self) -> Evaluation
Consumes the builder and constructs a Evaluation
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