#[non_exhaustive]pub struct ConfigRuleEvaluationStatusBuilder { /* private fields */ }Expand description
A builder for ConfigRuleEvaluationStatus.
Implementations§
source§impl ConfigRuleEvaluationStatusBuilder
impl ConfigRuleEvaluationStatusBuilder
sourcepub fn config_rule_name(self, input: impl Into<String>) -> Self
pub fn config_rule_name(self, input: impl Into<String>) -> Self
The name of the Config rule.
sourcepub fn set_config_rule_name(self, input: Option<String>) -> Self
pub fn set_config_rule_name(self, input: Option<String>) -> Self
The name of the Config rule.
sourcepub fn get_config_rule_name(&self) -> &Option<String>
pub fn get_config_rule_name(&self) -> &Option<String>
The name of the Config rule.
sourcepub fn config_rule_arn(self, input: impl Into<String>) -> Self
pub fn config_rule_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Config rule.
sourcepub fn set_config_rule_arn(self, input: Option<String>) -> Self
pub fn set_config_rule_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Config rule.
sourcepub fn get_config_rule_arn(&self) -> &Option<String>
pub fn get_config_rule_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Config rule.
sourcepub fn config_rule_id(self, input: impl Into<String>) -> Self
pub fn config_rule_id(self, input: impl Into<String>) -> Self
The ID of the Config rule.
sourcepub fn set_config_rule_id(self, input: Option<String>) -> Self
pub fn set_config_rule_id(self, input: Option<String>) -> Self
The ID of the Config rule.
sourcepub fn get_config_rule_id(&self) -> &Option<String>
pub fn get_config_rule_id(&self) -> &Option<String>
The ID of the Config rule.
sourcepub fn last_successful_invocation_time(self, input: DateTime) -> Self
pub fn last_successful_invocation_time(self, input: DateTime) -> Self
The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn set_last_successful_invocation_time(
self,
input: Option<DateTime>,
) -> Self
pub fn set_last_successful_invocation_time( self, input: Option<DateTime>, ) -> Self
The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn get_last_successful_invocation_time(&self) -> &Option<DateTime>
pub fn get_last_successful_invocation_time(&self) -> &Option<DateTime>
The time that Config last successfully invoked the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn last_failed_invocation_time(self, input: DateTime) -> Self
pub fn last_failed_invocation_time(self, input: DateTime) -> Self
The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn set_last_failed_invocation_time(self, input: Option<DateTime>) -> Self
pub fn set_last_failed_invocation_time(self, input: Option<DateTime>) -> Self
The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn get_last_failed_invocation_time(&self) -> &Option<DateTime>
pub fn get_last_failed_invocation_time(&self) -> &Option<DateTime>
The time that Config last failed to invoke the Config rule to evaluate your Amazon Web Services resources.
sourcepub fn last_successful_evaluation_time(self, input: DateTime) -> Self
pub fn last_successful_evaluation_time(self, input: DateTime) -> Self
The time that Config last successfully evaluated your Amazon Web Services resources against the rule.
sourcepub fn set_last_successful_evaluation_time(
self,
input: Option<DateTime>,
) -> Self
pub fn set_last_successful_evaluation_time( self, input: Option<DateTime>, ) -> Self
The time that Config last successfully evaluated your Amazon Web Services resources against the rule.
sourcepub fn get_last_successful_evaluation_time(&self) -> &Option<DateTime>
pub fn get_last_successful_evaluation_time(&self) -> &Option<DateTime>
The time that Config last successfully evaluated your Amazon Web Services resources against the rule.
sourcepub fn last_failed_evaluation_time(self, input: DateTime) -> Self
pub fn last_failed_evaluation_time(self, input: DateTime) -> Self
The time that Config last failed to evaluate your Amazon Web Services resources against the rule.
sourcepub fn set_last_failed_evaluation_time(self, input: Option<DateTime>) -> Self
pub fn set_last_failed_evaluation_time(self, input: Option<DateTime>) -> Self
The time that Config last failed to evaluate your Amazon Web Services resources against the rule.
sourcepub fn get_last_failed_evaluation_time(&self) -> &Option<DateTime>
pub fn get_last_failed_evaluation_time(&self) -> &Option<DateTime>
The time that Config last failed to evaluate your Amazon Web Services resources against the rule.
sourcepub fn first_activated_time(self, input: DateTime) -> Self
pub fn first_activated_time(self, input: DateTime) -> Self
The time that you first activated the Config rule.
sourcepub fn set_first_activated_time(self, input: Option<DateTime>) -> Self
pub fn set_first_activated_time(self, input: Option<DateTime>) -> Self
The time that you first activated the Config rule.
sourcepub fn get_first_activated_time(&self) -> &Option<DateTime>
pub fn get_first_activated_time(&self) -> &Option<DateTime>
The time that you first activated the Config rule.
sourcepub fn last_deactivated_time(self, input: DateTime) -> Self
pub fn last_deactivated_time(self, input: DateTime) -> Self
The time that you last turned off the Config rule.
sourcepub fn set_last_deactivated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_deactivated_time(self, input: Option<DateTime>) -> Self
The time that you last turned off the Config rule.
sourcepub fn get_last_deactivated_time(&self) -> &Option<DateTime>
pub fn get_last_deactivated_time(&self) -> &Option<DateTime>
The time that you last turned off the Config rule.
sourcepub fn last_error_code(self, input: impl Into<String>) -> Self
pub fn last_error_code(self, input: impl Into<String>) -> Self
The error code that Config returned when the rule last failed.
sourcepub fn set_last_error_code(self, input: Option<String>) -> Self
pub fn set_last_error_code(self, input: Option<String>) -> Self
The error code that Config returned when the rule last failed.
sourcepub fn get_last_error_code(&self) -> &Option<String>
pub fn get_last_error_code(&self) -> &Option<String>
The error code that Config returned when the rule last failed.
sourcepub fn last_error_message(self, input: impl Into<String>) -> Self
pub fn last_error_message(self, input: impl Into<String>) -> Self
The error message that Config returned when the rule last failed.
sourcepub fn set_last_error_message(self, input: Option<String>) -> Self
pub fn set_last_error_message(self, input: Option<String>) -> Self
The error message that Config returned when the rule last failed.
sourcepub fn get_last_error_message(&self) -> &Option<String>
pub fn get_last_error_message(&self) -> &Option<String>
The error message that Config returned when the rule last failed.
sourcepub fn first_evaluation_started(self, input: bool) -> Self
pub fn first_evaluation_started(self, input: bool) -> Self
Indicates whether Config has evaluated your resources against the rule at least once.
-
true- Config has evaluated your Amazon Web Services resources against the rule at least once. -
false- Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
sourcepub fn set_first_evaluation_started(self, input: Option<bool>) -> Self
pub fn set_first_evaluation_started(self, input: Option<bool>) -> Self
Indicates whether Config has evaluated your resources against the rule at least once.
-
true- Config has evaluated your Amazon Web Services resources against the rule at least once. -
false- Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
sourcepub fn get_first_evaluation_started(&self) -> &Option<bool>
pub fn get_first_evaluation_started(&self) -> &Option<bool>
Indicates whether Config has evaluated your resources against the rule at least once.
-
true- Config has evaluated your Amazon Web Services resources against the rule at least once. -
false- Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
sourcepub fn last_debug_log_delivery_status(self, input: impl Into<String>) -> Self
pub fn last_debug_log_delivery_status(self, input: impl Into<String>) -> Self
The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.
sourcepub fn set_last_debug_log_delivery_status(self, input: Option<String>) -> Self
pub fn set_last_debug_log_delivery_status(self, input: Option<String>) -> Self
The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.
sourcepub fn get_last_debug_log_delivery_status(&self) -> &Option<String>
pub fn get_last_debug_log_delivery_status(&self) -> &Option<String>
The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.
sourcepub fn last_debug_log_delivery_status_reason(
self,
input: impl Into<String>,
) -> Self
pub fn last_debug_log_delivery_status_reason( self, input: impl Into<String>, ) -> Self
The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
sourcepub fn set_last_debug_log_delivery_status_reason(
self,
input: Option<String>,
) -> Self
pub fn set_last_debug_log_delivery_status_reason( self, input: Option<String>, ) -> Self
The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
sourcepub fn get_last_debug_log_delivery_status_reason(&self) -> &Option<String>
pub fn get_last_debug_log_delivery_status_reason(&self) -> &Option<String>
The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
sourcepub fn last_debug_log_delivery_time(self, input: DateTime) -> Self
pub fn last_debug_log_delivery_time(self, input: DateTime) -> Self
The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
sourcepub fn set_last_debug_log_delivery_time(self, input: Option<DateTime>) -> Self
pub fn set_last_debug_log_delivery_time(self, input: Option<DateTime>) -> Self
The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
sourcepub fn get_last_debug_log_delivery_time(&self) -> &Option<DateTime>
pub fn get_last_debug_log_delivery_time(&self) -> &Option<DateTime>
The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
sourcepub fn build(self) -> ConfigRuleEvaluationStatus
pub fn build(self) -> ConfigRuleEvaluationStatus
Consumes the builder and constructs a ConfigRuleEvaluationStatus.
Trait Implementations§
source§impl Clone for ConfigRuleEvaluationStatusBuilder
impl Clone for ConfigRuleEvaluationStatusBuilder
source§fn clone(&self) -> ConfigRuleEvaluationStatusBuilder
fn clone(&self) -> ConfigRuleEvaluationStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfigRuleEvaluationStatusBuilder
impl Default for ConfigRuleEvaluationStatusBuilder
source§fn default() -> ConfigRuleEvaluationStatusBuilder
fn default() -> ConfigRuleEvaluationStatusBuilder
source§impl PartialEq for ConfigRuleEvaluationStatusBuilder
impl PartialEq for ConfigRuleEvaluationStatusBuilder
source§fn eq(&self, other: &ConfigRuleEvaluationStatusBuilder) -> bool
fn eq(&self, other: &ConfigRuleEvaluationStatusBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfigRuleEvaluationStatusBuilder
Auto Trait Implementations§
impl Freeze for ConfigRuleEvaluationStatusBuilder
impl RefUnwindSafe for ConfigRuleEvaluationStatusBuilder
impl Send for ConfigRuleEvaluationStatusBuilder
impl Sync for ConfigRuleEvaluationStatusBuilder
impl Unpin for ConfigRuleEvaluationStatusBuilder
impl UnwindSafe for ConfigRuleEvaluationStatusBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more