#[non_exhaustive]pub struct ScanSummaryBuilder { /* private fields */ }
Expand description
A builder for ScanSummary
.
Implementations§
source§impl ScanSummaryBuilder
impl ScanSummaryBuilder
sourcepub fn scan_state(self, input: ScanState) -> Self
pub fn scan_state(self, input: ScanState) -> Self
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
sourcepub fn set_scan_state(self, input: Option<ScanState>) -> Self
pub fn set_scan_state(self, input: Option<ScanState>) -> Self
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
sourcepub fn get_scan_state(&self) -> &Option<ScanState>
pub fn get_scan_state(&self) -> &Option<ScanState>
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the scan was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the scan was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the scan was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The time the scan was last updated. A scan is updated when it is re-run.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The time the scan was last updated. A scan is updated when it is re-run.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The time the scan was last updated. A scan is updated when it is re-run.
sourcepub fn set_scan_name(self, input: Option<String>) -> Self
pub fn set_scan_name(self, input: Option<String>) -> Self
The name of the scan.
sourcepub fn get_scan_name(&self) -> &Option<String>
pub fn get_scan_name(&self) -> &Option<String>
The name of the scan.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
The identifier for the scan run.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
The identifier for the scan run.
sourcepub fn scan_name_arn(self, input: impl Into<String>) -> Self
pub fn scan_name_arn(self, input: impl Into<String>) -> Self
The ARN for the scan name.
sourcepub fn set_scan_name_arn(self, input: Option<String>) -> Self
pub fn set_scan_name_arn(self, input: Option<String>) -> Self
The ARN for the scan name.
sourcepub fn get_scan_name_arn(&self) -> &Option<String>
pub fn get_scan_name_arn(&self) -> &Option<String>
The ARN for the scan name.
sourcepub fn build(self) -> ScanSummary
pub fn build(self) -> ScanSummary
Consumes the builder and constructs a ScanSummary
.
Trait Implementations§
source§impl Clone for ScanSummaryBuilder
impl Clone for ScanSummaryBuilder
source§fn clone(&self) -> ScanSummaryBuilder
fn clone(&self) -> ScanSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScanSummaryBuilder
impl Debug for ScanSummaryBuilder
source§impl Default for ScanSummaryBuilder
impl Default for ScanSummaryBuilder
source§fn default() -> ScanSummaryBuilder
fn default() -> ScanSummaryBuilder
source§impl PartialEq<ScanSummaryBuilder> for ScanSummaryBuilder
impl PartialEq<ScanSummaryBuilder> for ScanSummaryBuilder
source§fn eq(&self, other: &ScanSummaryBuilder) -> bool
fn eq(&self, other: &ScanSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.