#[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 ==
.