Struct aws_sdk_fms::operation::associate_admin_account::builders::AssociateAdminAccountFluentBuilder
source · pub struct AssociateAdminAccountFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AssociateAdminAccount
.
Sets a Firewall Manager default administrator account. The Firewall Manager default administrator account can manage third-party firewalls and has full administrative scope that allows administration of all policy types, accounts, organizational units, and Regions. This account must be a member account of the organization in Organizations whose resources you want to protect.
For information about working with Firewall Manager administrator accounts, see Managing Firewall Manager administrators in the Firewall Manager Developer Guide.
Implementations§
source§impl AssociateAdminAccountFluentBuilder
impl AssociateAdminAccountFluentBuilder
sourcepub fn as_input(&self) -> &AssociateAdminAccountInputBuilder
pub fn as_input(&self) -> &AssociateAdminAccountInputBuilder
Access the AssociateAdminAccount as a reference.
sourcepub async fn send(
self
) -> Result<AssociateAdminAccountOutput, SdkError<AssociateAdminAccountError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateAdminAccountOutput, SdkError<AssociateAdminAccountError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateAdminAccountOutput, AssociateAdminAccountError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateAdminAccountOutput, AssociateAdminAccountError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn admin_account(self, input: impl Into<String>) -> Self
pub fn admin_account(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
sourcepub fn set_admin_account(self, input: Option<String>) -> Self
pub fn set_admin_account(self, input: Option<String>) -> Self
The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
sourcepub fn get_admin_account(&self) -> &Option<String>
pub fn get_admin_account(&self) -> &Option<String>
The Amazon Web Services account ID to associate with Firewall Manager as the Firewall Manager default administrator account. This account must be a member account of the organization in Organizations whose resources you want to protect. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
Trait Implementations§
source§impl Clone for AssociateAdminAccountFluentBuilder
impl Clone for AssociateAdminAccountFluentBuilder
source§fn clone(&self) -> AssociateAdminAccountFluentBuilder
fn clone(&self) -> AssociateAdminAccountFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for AssociateAdminAccountFluentBuilder
impl !RefUnwindSafe for AssociateAdminAccountFluentBuilder
impl Send for AssociateAdminAccountFluentBuilder
impl Sync for AssociateAdminAccountFluentBuilder
impl Unpin for AssociateAdminAccountFluentBuilder
impl !UnwindSafe for AssociateAdminAccountFluentBuilder
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> 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