Struct aws_sdk_securityhub::operation::get_configuration_policy_association::builders::GetConfigurationPolicyAssociationInputBuilder
source · #[non_exhaustive]pub struct GetConfigurationPolicyAssociationInputBuilder { /* private fields */ }
Expand description
A builder for GetConfigurationPolicyAssociationInput
.
Implementations§
source§impl GetConfigurationPolicyAssociationInputBuilder
impl GetConfigurationPolicyAssociationInputBuilder
sourcepub fn target(self, input: Target) -> Self
pub fn target(self, input: Target) -> Self
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
This field is required.sourcepub fn set_target(self, input: Option<Target>) -> Self
pub fn set_target(self, input: Option<Target>) -> Self
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
sourcepub fn get_target(&self) -> &Option<Target>
pub fn get_target(&self) -> &Option<Target>
The target account ID, organizational unit ID, or the root ID to retrieve the association for.
sourcepub fn build(self) -> Result<GetConfigurationPolicyAssociationInput, BuildError>
pub fn build(self) -> Result<GetConfigurationPolicyAssociationInput, BuildError>
Consumes the builder and constructs a GetConfigurationPolicyAssociationInput
.
source§impl GetConfigurationPolicyAssociationInputBuilder
impl GetConfigurationPolicyAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetConfigurationPolicyAssociationOutput, SdkError<GetConfigurationPolicyAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetConfigurationPolicyAssociationOutput, SdkError<GetConfigurationPolicyAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetConfigurationPolicyAssociationInputBuilder
impl Clone for GetConfigurationPolicyAssociationInputBuilder
source§fn clone(&self) -> GetConfigurationPolicyAssociationInputBuilder
fn clone(&self) -> GetConfigurationPolicyAssociationInputBuilder
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 GetConfigurationPolicyAssociationInputBuilder
impl Default for GetConfigurationPolicyAssociationInputBuilder
source§fn default() -> GetConfigurationPolicyAssociationInputBuilder
fn default() -> GetConfigurationPolicyAssociationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetConfigurationPolicyAssociationInputBuilder
impl PartialEq for GetConfigurationPolicyAssociationInputBuilder
source§fn eq(&self, other: &GetConfigurationPolicyAssociationInputBuilder) -> bool
fn eq(&self, other: &GetConfigurationPolicyAssociationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetConfigurationPolicyAssociationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetConfigurationPolicyAssociationInputBuilder
impl Send for GetConfigurationPolicyAssociationInputBuilder
impl Sync for GetConfigurationPolicyAssociationInputBuilder
impl Unpin for GetConfigurationPolicyAssociationInputBuilder
impl UnwindSafe for GetConfigurationPolicyAssociationInputBuilder
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.