#[non_exhaustive]pub struct AggregateComplianceByConfigRuleBuilder { /* private fields */ }Expand description
A builder for AggregateComplianceByConfigRule.
Implementations§
source§impl AggregateComplianceByConfigRuleBuilder
impl AggregateComplianceByConfigRuleBuilder
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 compliance(self, input: Compliance) -> Self
pub fn compliance(self, input: Compliance) -> Self
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
sourcepub fn set_compliance(self, input: Option<Compliance>) -> Self
pub fn set_compliance(self, input: Option<Compliance>) -> Self
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
sourcepub fn get_compliance(&self) -> &Option<Compliance>
pub fn get_compliance(&self) -> &Option<Compliance>
Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The 12-digit account ID of the source account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The 12-digit account ID of the source account.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The 12-digit account ID of the source account.
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The source region from where the data is aggregated.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The source region from where the data is aggregated.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The source region from where the data is aggregated.
sourcepub fn build(self) -> AggregateComplianceByConfigRule
pub fn build(self) -> AggregateComplianceByConfigRule
Consumes the builder and constructs a AggregateComplianceByConfigRule.
Trait Implementations§
source§impl Clone for AggregateComplianceByConfigRuleBuilder
impl Clone for AggregateComplianceByConfigRuleBuilder
source§fn clone(&self) -> AggregateComplianceByConfigRuleBuilder
fn clone(&self) -> AggregateComplianceByConfigRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AggregateComplianceByConfigRuleBuilder
impl Default for AggregateComplianceByConfigRuleBuilder
source§fn default() -> AggregateComplianceByConfigRuleBuilder
fn default() -> AggregateComplianceByConfigRuleBuilder
source§impl PartialEq for AggregateComplianceByConfigRuleBuilder
impl PartialEq for AggregateComplianceByConfigRuleBuilder
source§fn eq(&self, other: &AggregateComplianceByConfigRuleBuilder) -> bool
fn eq(&self, other: &AggregateComplianceByConfigRuleBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AggregateComplianceByConfigRuleBuilder
Auto Trait Implementations§
impl Freeze for AggregateComplianceByConfigRuleBuilder
impl RefUnwindSafe for AggregateComplianceByConfigRuleBuilder
impl Send for AggregateComplianceByConfigRuleBuilder
impl Sync for AggregateComplianceByConfigRuleBuilder
impl Unpin for AggregateComplianceByConfigRuleBuilder
impl UnwindSafe for AggregateComplianceByConfigRuleBuilder
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