#[non_exhaustive]pub struct ConfigurationPolicyAssociationSummaryBuilder { /* private fields */ }
Expand description
A builder for ConfigurationPolicyAssociationSummary
.
Implementations§
source§impl ConfigurationPolicyAssociationSummaryBuilder
impl ConfigurationPolicyAssociationSummaryBuilder
sourcepub fn configuration_policy_id(self, input: impl Into<String>) -> Self
pub fn configuration_policy_id(self, input: impl Into<String>) -> Self
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn set_configuration_policy_id(self, input: Option<String>) -> Self
pub fn set_configuration_policy_id(self, input: Option<String>) -> Self
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn get_configuration_policy_id(&self) -> &Option<String>
pub fn get_configuration_policy_id(&self) -> &Option<String>
The universally unique identifier (UUID) of the configuration policy.
sourcepub fn target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
The identifier of the target account, organizational unit, or the root.
sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
The identifier of the target account, organizational unit, or the root.
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
The identifier of the target account, organizational unit, or the root.
sourcepub fn target_type(self, input: TargetType) -> Self
pub fn target_type(self, input: TargetType) -> Self
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
sourcepub fn set_target_type(self, input: Option<TargetType>) -> Self
pub fn set_target_type(self, input: Option<TargetType>) -> Self
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
sourcepub fn get_target_type(&self) -> &Option<TargetType>
pub fn get_target_type(&self) -> &Option<TargetType>
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
sourcepub fn association_type(self, input: AssociationType) -> Self
pub fn association_type(self, input: AssociationType) -> Self
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
sourcepub fn set_association_type(self, input: Option<AssociationType>) -> Self
pub fn set_association_type(self, input: Option<AssociationType>) -> Self
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
sourcepub fn get_association_type(&self) -> &Option<AssociationType>
pub fn get_association_type(&self) -> &Option<AssociationType>
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
sourcepub fn association_status(
self,
input: ConfigurationPolicyAssociationStatus
) -> Self
pub fn association_status( self, input: ConfigurationPolicyAssociationStatus ) -> Self
The current status of the association between the specified target and the configuration.
sourcepub fn set_association_status(
self,
input: Option<ConfigurationPolicyAssociationStatus>
) -> Self
pub fn set_association_status( self, input: Option<ConfigurationPolicyAssociationStatus> ) -> Self
The current status of the association between the specified target and the configuration.
sourcepub fn get_association_status(
&self
) -> &Option<ConfigurationPolicyAssociationStatus>
pub fn get_association_status( &self ) -> &Option<ConfigurationPolicyAssociationStatus>
The current status of the association between the specified target and the configuration.
sourcepub fn association_status_message(self, input: impl Into<String>) -> Self
pub fn association_status_message(self, input: impl Into<String>) -> Self
The explanation for a FAILED
value for AssociationStatus
.
sourcepub fn set_association_status_message(self, input: Option<String>) -> Self
pub fn set_association_status_message(self, input: Option<String>) -> Self
The explanation for a FAILED
value for AssociationStatus
.
sourcepub fn get_association_status_message(&self) -> &Option<String>
pub fn get_association_status_message(&self) -> &Option<String>
The explanation for a FAILED
value for AssociationStatus
.
sourcepub fn build(self) -> ConfigurationPolicyAssociationSummary
pub fn build(self) -> ConfigurationPolicyAssociationSummary
Consumes the builder and constructs a ConfigurationPolicyAssociationSummary
.
Trait Implementations§
source§impl Clone for ConfigurationPolicyAssociationSummaryBuilder
impl Clone for ConfigurationPolicyAssociationSummaryBuilder
source§fn clone(&self) -> ConfigurationPolicyAssociationSummaryBuilder
fn clone(&self) -> ConfigurationPolicyAssociationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConfigurationPolicyAssociationSummaryBuilder
impl Default for ConfigurationPolicyAssociationSummaryBuilder
source§fn default() -> ConfigurationPolicyAssociationSummaryBuilder
fn default() -> ConfigurationPolicyAssociationSummaryBuilder
source§impl PartialEq for ConfigurationPolicyAssociationSummaryBuilder
impl PartialEq for ConfigurationPolicyAssociationSummaryBuilder
source§fn eq(&self, other: &ConfigurationPolicyAssociationSummaryBuilder) -> bool
fn eq(&self, other: &ConfigurationPolicyAssociationSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.