#[non_exhaustive]pub struct GetScanOutputBuilder { /* private fields */ }
Expand description
A builder for GetScanOutput
.
Implementations§
source§impl GetScanOutputBuilder
impl GetScanOutputBuilder
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 run_id(self, input: impl Into<String>) -> Self
pub fn run_id(self, input: impl Into<String>) -> Self
UUID that identifies the individual scan run.
sourcepub fn set_run_id(self, input: Option<String>) -> Self
pub fn set_run_id(self, input: Option<String>) -> Self
UUID that identifies the individual scan run.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
UUID that identifies the individual scan run.
sourcepub fn scan_state(self, input: ScanState) -> Self
pub fn scan_state(self, input: ScanState) -> Self
The current state of the scan. Pass either InProgress
, Successful
, or Failed
.
sourcepub fn set_scan_state(self, input: Option<ScanState>) -> Self
pub fn set_scan_state(self, input: Option<ScanState>) -> Self
The current state of the scan. Pass either InProgress
, Successful
, or Failed
.
sourcepub fn get_scan_state(&self) -> &Option<ScanState>
pub fn get_scan_state(&self) -> &Option<ScanState>
The current state of the scan. Pass either InProgress
, Successful
, or Failed
.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time 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 the scan was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time the scan was created.
sourcepub fn analysis_type(self, input: AnalysisType) -> Self
pub fn analysis_type(self, input: AnalysisType) -> Self
The type of analysis CodeGuru Security performed in the scan, either Security
or All
. The Security
type only generates findings related to security. The All
type generates both security findings and quality findings.
sourcepub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
pub fn set_analysis_type(self, input: Option<AnalysisType>) -> Self
The type of analysis CodeGuru Security performed in the scan, either Security
or All
. The Security
type only generates findings related to security. The All
type generates both security findings and quality findings.
sourcepub fn get_analysis_type(&self) -> &Option<AnalysisType>
pub fn get_analysis_type(&self) -> &Option<AnalysisType>
The type of analysis CodeGuru Security performed in the scan, either Security
or All
. The Security
type only generates findings related to security. The All
type generates both security findings and quality findings.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The time when the scan was last updated. Only available for STANDARD
scan types.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The time when the scan was last updated. Only available for STANDARD
scan types.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The time when the scan was last updated. Only available for STANDARD
scan types.
sourcepub fn number_of_revisions(self, input: i64) -> Self
pub fn number_of_revisions(self, input: i64) -> Self
The number of times a scan has been re-run on a revised resource.
sourcepub fn set_number_of_revisions(self, input: Option<i64>) -> Self
pub fn set_number_of_revisions(self, input: Option<i64>) -> Self
The number of times a scan has been re-run on a revised resource.
sourcepub fn get_number_of_revisions(&self) -> &Option<i64>
pub fn get_number_of_revisions(&self) -> &Option<i64>
The number of times a scan has been re-run on a revised resource.
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) -> GetScanOutput
pub fn build(self) -> GetScanOutput
Consumes the builder and constructs a GetScanOutput
.
Trait Implementations§
source§impl Clone for GetScanOutputBuilder
impl Clone for GetScanOutputBuilder
source§fn clone(&self) -> GetScanOutputBuilder
fn clone(&self) -> GetScanOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetScanOutputBuilder
impl Debug for GetScanOutputBuilder
source§impl Default for GetScanOutputBuilder
impl Default for GetScanOutputBuilder
source§fn default() -> GetScanOutputBuilder
fn default() -> GetScanOutputBuilder
source§impl PartialEq for GetScanOutputBuilder
impl PartialEq for GetScanOutputBuilder
source§fn eq(&self, other: &GetScanOutputBuilder) -> bool
fn eq(&self, other: &GetScanOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.