Struct aws_sdk_securityhub::operation::start_configuration_policy_association::builders::StartConfigurationPolicyAssociationOutputBuilder
source · #[non_exhaustive]pub struct StartConfigurationPolicyAssociationOutputBuilder { /* private fields */ }Expand description
A builder for StartConfigurationPolicyAssociationOutput.
Implementations§
source§impl StartConfigurationPolicyAssociationOutputBuilder
impl StartConfigurationPolicyAssociationOutputBuilder
sourcepub fn configuration_policy_id(self, input: impl Into<String>) -> Self
pub fn configuration_policy_id(self, input: impl Into<String>) -> Self
The 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 UUID of the configuration policy.
sourcepub fn get_configuration_policy_id(&self) -> &Option<String>
pub fn get_configuration_policy_id(&self) -> &Option<String>
The 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 organization root with which the configuration is associated.
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 organization root with which the configuration is associated.
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 organization root with which the configuration is associated.
sourcepub fn target_type(self, input: TargetType) -> Self
pub fn target_type(self, input: TargetType) -> Self
Indicates 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
Indicates 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>
Indicates 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
An 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
An 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>
An explanation for a FAILED value for AssociationStatus.
sourcepub fn build(self) -> StartConfigurationPolicyAssociationOutput
pub fn build(self) -> StartConfigurationPolicyAssociationOutput
Consumes the builder and constructs a StartConfigurationPolicyAssociationOutput.
Trait Implementations§
source§impl Clone for StartConfigurationPolicyAssociationOutputBuilder
impl Clone for StartConfigurationPolicyAssociationOutputBuilder
source§fn clone(&self) -> StartConfigurationPolicyAssociationOutputBuilder
fn clone(&self) -> StartConfigurationPolicyAssociationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartConfigurationPolicyAssociationOutputBuilder
impl Default for StartConfigurationPolicyAssociationOutputBuilder
source§fn default() -> StartConfigurationPolicyAssociationOutputBuilder
fn default() -> StartConfigurationPolicyAssociationOutputBuilder
source§impl PartialEq for StartConfigurationPolicyAssociationOutputBuilder
impl PartialEq for StartConfigurationPolicyAssociationOutputBuilder
source§fn eq(&self, other: &StartConfigurationPolicyAssociationOutputBuilder) -> bool
fn eq(&self, other: &StartConfigurationPolicyAssociationOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartConfigurationPolicyAssociationOutputBuilder
Auto Trait Implementations§
impl Freeze for StartConfigurationPolicyAssociationOutputBuilder
impl RefUnwindSafe for StartConfigurationPolicyAssociationOutputBuilder
impl Send for StartConfigurationPolicyAssociationOutputBuilder
impl Sync for StartConfigurationPolicyAssociationOutputBuilder
impl Unpin for StartConfigurationPolicyAssociationOutputBuilder
impl UnwindSafe for StartConfigurationPolicyAssociationOutputBuilder
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