Struct aws_sdk_auditmanager::types::builders::ScopeBuilder
source · #[non_exhaustive]pub struct ScopeBuilder { /* private fields */ }Expand description
A builder for Scope.
Implementations§
source§impl ScopeBuilder
impl ScopeBuilder
sourcepub fn aws_accounts(self, input: AwsAccount) -> Self
pub fn aws_accounts(self, input: AwsAccount) -> Self
Appends an item to aws_accounts.
To override the contents of this collection use set_aws_accounts.
The Amazon Web Services accounts that are included in the scope of the assessment.
sourcepub fn set_aws_accounts(self, input: Option<Vec<AwsAccount>>) -> Self
pub fn set_aws_accounts(self, input: Option<Vec<AwsAccount>>) -> Self
The Amazon Web Services accounts that are included in the scope of the assessment.
sourcepub fn get_aws_accounts(&self) -> &Option<Vec<AwsAccount>>
pub fn get_aws_accounts(&self) -> &Option<Vec<AwsAccount>>
The Amazon Web Services accounts that are included in the scope of the assessment.
sourcepub fn aws_services(self, input: AwsService) -> Self
pub fn aws_services(self, input: AwsService) -> Self
Appends an item to aws_services.
To override the contents of this collection use set_aws_services.
The Amazon Web Services services that are included in the scope of the assessment.
sourcepub fn set_aws_services(self, input: Option<Vec<AwsService>>) -> Self
pub fn set_aws_services(self, input: Option<Vec<AwsService>>) -> Self
The Amazon Web Services services that are included in the scope of the assessment.
sourcepub fn get_aws_services(&self) -> &Option<Vec<AwsService>>
pub fn get_aws_services(&self) -> &Option<Vec<AwsService>>
The Amazon Web Services services that are included in the scope of the assessment.
Trait Implementations§
source§impl Clone for ScopeBuilder
impl Clone for ScopeBuilder
source§fn clone(&self) -> ScopeBuilder
fn clone(&self) -> ScopeBuilder
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 Debug for ScopeBuilder
impl Debug for ScopeBuilder
source§impl Default for ScopeBuilder
impl Default for ScopeBuilder
source§fn default() -> ScopeBuilder
fn default() -> ScopeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScopeBuilder
impl PartialEq for ScopeBuilder
source§fn eq(&self, other: &ScopeBuilder) -> bool
fn eq(&self, other: &ScopeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ScopeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ScopeBuilder
impl Send for ScopeBuilder
impl Sync for ScopeBuilder
impl Unpin for ScopeBuilder
impl UnwindSafe for ScopeBuilder
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.