#[non_exhaustive]pub struct GetScanInputBuilder { /* private fields */ }
Expand description
A builder for GetScanInput
.
Implementations§
source§impl GetScanInputBuilder
impl GetScanInputBuilder
sourcepub fn scan_name(self, input: impl Into<String>) -> Self
pub fn scan_name(self, input: impl Into<String>) -> Self
The name of the scan you want to view details about.
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 you want to view details about.
sourcepub fn get_scan_name(&self) -> &Option<String>
pub fn get_scan_name(&self) -> &Option<String>
The name of the scan you want to view details about.
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 you want to view details about. You retrieve this when you call the CreateScan
operation. Defaults to the latest scan run if missing.
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 you want to view details about. You retrieve this when you call the CreateScan
operation. Defaults to the latest scan run if missing.
sourcepub fn get_run_id(&self) -> &Option<String>
pub fn get_run_id(&self) -> &Option<String>
UUID that identifies the individual scan run you want to view details about. You retrieve this when you call the CreateScan
operation. Defaults to the latest scan run if missing.
sourcepub fn build(self) -> Result<GetScanInput, BuildError>
pub fn build(self) -> Result<GetScanInput, BuildError>
Consumes the builder and constructs a GetScanInput
.
source§impl GetScanInputBuilder
impl GetScanInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetScanOutput, SdkError<GetScanError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetScanOutput, SdkError<GetScanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetScanInputBuilder
impl Clone for GetScanInputBuilder
source§fn clone(&self) -> GetScanInputBuilder
fn clone(&self) -> GetScanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetScanInputBuilder
impl Debug for GetScanInputBuilder
source§impl Default for GetScanInputBuilder
impl Default for GetScanInputBuilder
source§fn default() -> GetScanInputBuilder
fn default() -> GetScanInputBuilder
source§impl PartialEq<GetScanInputBuilder> for GetScanInputBuilder
impl PartialEq<GetScanInputBuilder> for GetScanInputBuilder
source§fn eq(&self, other: &GetScanInputBuilder) -> bool
fn eq(&self, other: &GetScanInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.