#[non_exhaustive]pub struct ConfigurationPolicyAssociationBuilder { /* private fields */ }
Expand description
A builder for ConfigurationPolicyAssociation
.
Implementations§
source§impl ConfigurationPolicyAssociationBuilder
impl ConfigurationPolicyAssociationBuilder
sourcepub fn target(self, input: Target) -> Self
pub fn target(self, input: Target) -> Self
The target account, organizational unit, or the root.
sourcepub fn set_target(self, input: Option<Target>) -> Self
pub fn set_target(self, input: Option<Target>) -> Self
The target account, organizational unit, or the root.
sourcepub fn get_target(&self) -> &Option<Target>
pub fn get_target(&self) -> &Option<Target>
The target account, organizational unit, or the root.
sourcepub fn build(self) -> ConfigurationPolicyAssociation
pub fn build(self) -> ConfigurationPolicyAssociation
Consumes the builder and constructs a ConfigurationPolicyAssociation
.
Trait Implementations§
source§impl Clone for ConfigurationPolicyAssociationBuilder
impl Clone for ConfigurationPolicyAssociationBuilder
source§fn clone(&self) -> ConfigurationPolicyAssociationBuilder
fn clone(&self) -> ConfigurationPolicyAssociationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ConfigurationPolicyAssociationBuilder
impl Default for ConfigurationPolicyAssociationBuilder
source§fn default() -> ConfigurationPolicyAssociationBuilder
fn default() -> ConfigurationPolicyAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConfigurationPolicyAssociationBuilder
impl PartialEq for ConfigurationPolicyAssociationBuilder
source§fn eq(&self, other: &ConfigurationPolicyAssociationBuilder) -> bool
fn eq(&self, other: &ConfigurationPolicyAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationPolicyAssociationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConfigurationPolicyAssociationBuilder
impl Send for ConfigurationPolicyAssociationBuilder
impl Sync for ConfigurationPolicyAssociationBuilder
impl Unpin for ConfigurationPolicyAssociationBuilder
impl UnwindSafe for ConfigurationPolicyAssociationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.