#[non_exhaustive]pub struct PutAdminAccountInputBuilder { /* private fields */ }
Expand description
A builder for PutAdminAccountInput
.
Implementations§
source§impl PutAdminAccountInputBuilder
impl PutAdminAccountInputBuilder
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 add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount
. 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 add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount
. 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 add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount
. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
sourcepub fn admin_scope(self, input: AdminScope) -> Self
pub fn admin_scope(self, input: AdminScope) -> Self
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
sourcepub fn set_admin_scope(self, input: Option<AdminScope>) -> Self
pub fn set_admin_scope(self, input: Option<AdminScope>) -> Self
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
sourcepub fn get_admin_scope(&self) -> &Option<AdminScope>
pub fn get_admin_scope(&self) -> &Option<AdminScope>
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
sourcepub fn build(self) -> Result<PutAdminAccountInput, BuildError>
pub fn build(self) -> Result<PutAdminAccountInput, BuildError>
Consumes the builder and constructs a PutAdminAccountInput
.
source§impl PutAdminAccountInputBuilder
impl PutAdminAccountInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutAdminAccountOutput, SdkError<PutAdminAccountError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutAdminAccountOutput, SdkError<PutAdminAccountError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutAdminAccountInputBuilder
impl Clone for PutAdminAccountInputBuilder
source§fn clone(&self) -> PutAdminAccountInputBuilder
fn clone(&self) -> PutAdminAccountInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutAdminAccountInputBuilder
impl Debug for PutAdminAccountInputBuilder
source§impl Default for PutAdminAccountInputBuilder
impl Default for PutAdminAccountInputBuilder
source§fn default() -> PutAdminAccountInputBuilder
fn default() -> PutAdminAccountInputBuilder
source§impl PartialEq for PutAdminAccountInputBuilder
impl PartialEq for PutAdminAccountInputBuilder
source§fn eq(&self, other: &PutAdminAccountInputBuilder) -> bool
fn eq(&self, other: &PutAdminAccountInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutAdminAccountInputBuilder
Auto Trait Implementations§
impl Freeze for PutAdminAccountInputBuilder
impl RefUnwindSafe for PutAdminAccountInputBuilder
impl Send for PutAdminAccountInputBuilder
impl Sync for PutAdminAccountInputBuilder
impl Unpin for PutAdminAccountInputBuilder
impl UnwindSafe for PutAdminAccountInputBuilder
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