Struct aws_sdk_securityhub::operation::get_configuration_policy_association::builders::GetConfigurationPolicyAssociationOutputBuilder
source · #[non_exhaustive]pub struct GetConfigurationPolicyAssociationOutputBuilder { /* private fields */ }
Expand description
A builder for GetConfigurationPolicyAssociationOutput
.
Implementations§
source§impl GetConfigurationPolicyAssociationOutputBuilder
impl GetConfigurationPolicyAssociationOutputBuilder
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 a configuration policy. For self-managed behavior, the value is SELF_MANAGED_SECURITY_HUB
.
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 a configuration policy. For self-managed behavior, the value is SELF_MANAGED_SECURITY_HUB
.
sourcepub fn get_configuration_policy_id(&self) -> &Option<String>
pub fn get_configuration_policy_id(&self) -> &Option<String>
The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value is SELF_MANAGED_SECURITY_HUB
.
sourcepub fn target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
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 organization 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 organization 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 organization 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) -> GetConfigurationPolicyAssociationOutput
pub fn build(self) -> GetConfigurationPolicyAssociationOutput
Consumes the builder and constructs a GetConfigurationPolicyAssociationOutput
.
Trait Implementations§
source§impl Clone for GetConfigurationPolicyAssociationOutputBuilder
impl Clone for GetConfigurationPolicyAssociationOutputBuilder
source§fn clone(&self) -> GetConfigurationPolicyAssociationOutputBuilder
fn clone(&self) -> GetConfigurationPolicyAssociationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetConfigurationPolicyAssociationOutputBuilder
impl Default for GetConfigurationPolicyAssociationOutputBuilder
source§fn default() -> GetConfigurationPolicyAssociationOutputBuilder
fn default() -> GetConfigurationPolicyAssociationOutputBuilder
source§impl PartialEq for GetConfigurationPolicyAssociationOutputBuilder
impl PartialEq for GetConfigurationPolicyAssociationOutputBuilder
source§fn eq(&self, other: &GetConfigurationPolicyAssociationOutputBuilder) -> bool
fn eq(&self, other: &GetConfigurationPolicyAssociationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.