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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetConfigurationPolicyAssociationInputBuilder
Auto Trait Implementations§
impl Freeze for GetConfigurationPolicyAssociationInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.