#[non_exhaustive]pub struct ListScansOutputBuilder { /* private fields */ }
Expand description
A builder for ListScansOutput
.
Implementations§
source§impl ListScansOutputBuilder
impl ListScansOutputBuilder
sourcepub fn summaries(self, input: ScanSummary) -> Self
pub fn summaries(self, input: ScanSummary) -> Self
Appends an item to summaries
.
To override the contents of this collection use set_summaries
.
A list of ScanSummary
objects with information about all scans in an account.
sourcepub fn set_summaries(self, input: Option<Vec<ScanSummary>>) -> Self
pub fn set_summaries(self, input: Option<Vec<ScanSummary>>) -> Self
A list of ScanSummary
objects with information about all scans in an account.
sourcepub fn get_summaries(&self) -> &Option<Vec<ScanSummary>>
pub fn get_summaries(&self) -> &Option<Vec<ScanSummary>>
A list of ScanSummary
objects with information about all scans in an account.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token. You can use this in future calls to ListScans
to continue listing results after the current page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token. You can use this in future calls to ListScans
to continue listing results after the current page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token. You can use this in future calls to ListScans
to continue listing results after the current page.
sourcepub fn build(self) -> ListScansOutput
pub fn build(self) -> ListScansOutput
Consumes the builder and constructs a ListScansOutput
.
Trait Implementations§
source§impl Clone for ListScansOutputBuilder
impl Clone for ListScansOutputBuilder
source§fn clone(&self) -> ListScansOutputBuilder
fn clone(&self) -> ListScansOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListScansOutputBuilder
impl Debug for ListScansOutputBuilder
source§impl Default for ListScansOutputBuilder
impl Default for ListScansOutputBuilder
source§fn default() -> ListScansOutputBuilder
fn default() -> ListScansOutputBuilder
source§impl PartialEq for ListScansOutputBuilder
impl PartialEq for ListScansOutputBuilder
source§fn eq(&self, other: &ListScansOutputBuilder) -> bool
fn eq(&self, other: &ListScansOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListScansOutputBuilder
Auto Trait Implementations§
impl Freeze for ListScansOutputBuilder
impl RefUnwindSafe for ListScansOutputBuilder
impl Send for ListScansOutputBuilder
impl Sync for ListScansOutputBuilder
impl Unpin for ListScansOutputBuilder
impl UnwindSafe for ListScansOutputBuilder
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