#[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.
This field is required.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 for GetScanInputBuilder
impl PartialEq for GetScanInputBuilder
impl StructuralPartialEq for GetScanInputBuilder
Auto Trait Implementations§
impl Freeze for GetScanInputBuilder
impl RefUnwindSafe for GetScanInputBuilder
impl Send for GetScanInputBuilder
impl Sync for GetScanInputBuilder
impl Unpin for GetScanInputBuilder
impl UnwindSafe for GetScanInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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