Struct aws_sdk_cloudformation::operation::start_resource_scan::builders::StartResourceScanInputBuilder
source · #[non_exhaustive]pub struct StartResourceScanInputBuilder { /* private fields */ }
Expand description
A builder for StartResourceScanInput
.
Implementations§
source§impl StartResourceScanInputBuilder
impl StartResourceScanInputBuilder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique identifier for this StartResourceScan
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to start a new resource scan.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique identifier for this StartResourceScan
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to start a new resource scan.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
A unique identifier for this StartResourceScan
request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to start a new resource scan.
sourcepub fn build(self) -> Result<StartResourceScanInput, BuildError>
pub fn build(self) -> Result<StartResourceScanInput, BuildError>
Consumes the builder and constructs a StartResourceScanInput
.
source§impl StartResourceScanInputBuilder
impl StartResourceScanInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartResourceScanOutput, SdkError<StartResourceScanError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartResourceScanOutput, SdkError<StartResourceScanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartResourceScanInputBuilder
impl Clone for StartResourceScanInputBuilder
source§fn clone(&self) -> StartResourceScanInputBuilder
fn clone(&self) -> StartResourceScanInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for StartResourceScanInputBuilder
impl Default for StartResourceScanInputBuilder
source§fn default() -> StartResourceScanInputBuilder
fn default() -> StartResourceScanInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartResourceScanInputBuilder
impl PartialEq for StartResourceScanInputBuilder
source§fn eq(&self, other: &StartResourceScanInputBuilder) -> bool
fn eq(&self, other: &StartResourceScanInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartResourceScanInputBuilder
Auto Trait Implementations§
impl Freeze for StartResourceScanInputBuilder
impl RefUnwindSafe for StartResourceScanInputBuilder
impl Send for StartResourceScanInputBuilder
impl Sync for StartResourceScanInputBuilder
impl Unpin for StartResourceScanInputBuilder
impl UnwindSafe for StartResourceScanInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.