#[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 ==.