Struct aws_sdk_macie2::operation::list_classification_scopes::builders::ListClassificationScopesOutputBuilder
source · #[non_exhaustive]pub struct ListClassificationScopesOutputBuilder { /* private fields */ }
Expand description
A builder for ListClassificationScopesOutput
.
Implementations§
source§impl ListClassificationScopesOutputBuilder
impl ListClassificationScopesOutputBuilder
sourcepub fn classification_scopes(self, input: ClassificationScopeSummary) -> Self
pub fn classification_scopes(self, input: ClassificationScopeSummary) -> Self
Appends an item to classification_scopes
.
To override the contents of this collection use set_classification_scopes
.
An array that specifies the unique identifier and name of the classification scope for the account.
sourcepub fn set_classification_scopes(
self,
input: Option<Vec<ClassificationScopeSummary>>,
) -> Self
pub fn set_classification_scopes( self, input: Option<Vec<ClassificationScopeSummary>>, ) -> Self
An array that specifies the unique identifier and name of the classification scope for the account.
sourcepub fn get_classification_scopes(
&self,
) -> &Option<Vec<ClassificationScopeSummary>>
pub fn get_classification_scopes( &self, ) -> &Option<Vec<ClassificationScopeSummary>>
An array that specifies the unique identifier and name of the classification scope for the account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn build(self) -> ListClassificationScopesOutput
pub fn build(self) -> ListClassificationScopesOutput
Consumes the builder and constructs a ListClassificationScopesOutput
.
Trait Implementations§
source§impl Clone for ListClassificationScopesOutputBuilder
impl Clone for ListClassificationScopesOutputBuilder
source§fn clone(&self) -> ListClassificationScopesOutputBuilder
fn clone(&self) -> ListClassificationScopesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListClassificationScopesOutputBuilder
impl Default for ListClassificationScopesOutputBuilder
source§fn default() -> ListClassificationScopesOutputBuilder
fn default() -> ListClassificationScopesOutputBuilder
source§impl PartialEq for ListClassificationScopesOutputBuilder
impl PartialEq for ListClassificationScopesOutputBuilder
source§fn eq(&self, other: &ListClassificationScopesOutputBuilder) -> bool
fn eq(&self, other: &ListClassificationScopesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListClassificationScopesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListClassificationScopesOutputBuilder
impl RefUnwindSafe for ListClassificationScopesOutputBuilder
impl Send for ListClassificationScopesOutputBuilder
impl Sync for ListClassificationScopesOutputBuilder
impl Unpin for ListClassificationScopesOutputBuilder
impl UnwindSafe for ListClassificationScopesOutputBuilder
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