Struct aws_sdk_codegurusecurity::operation::create_upload_url::builders::CreateUploadUrlInputBuilder
source · #[non_exhaustive]pub struct CreateUploadUrlInputBuilder { /* private fields */ }
Expand description
A builder for CreateUploadUrlInput
.
Implementations§
source§impl CreateUploadUrlInputBuilder
impl CreateUploadUrlInputBuilder
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 that will use the uploaded resource. CodeGuru Security uses the unique scan name to track revisions across multiple scans of the same resource. Use this scanName
when you call CreateScan
on the code resource you upload to this URL.
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 that will use the uploaded resource. CodeGuru Security uses the unique scan name to track revisions across multiple scans of the same resource. Use this scanName
when you call CreateScan
on the code resource you upload to this URL.
sourcepub fn get_scan_name(&self) -> &Option<String>
pub fn get_scan_name(&self) -> &Option<String>
The name of the scan that will use the uploaded resource. CodeGuru Security uses the unique scan name to track revisions across multiple scans of the same resource. Use this scanName
when you call CreateScan
on the code resource you upload to this URL.
sourcepub fn build(self) -> Result<CreateUploadUrlInput, BuildError>
pub fn build(self) -> Result<CreateUploadUrlInput, BuildError>
Consumes the builder and constructs a CreateUploadUrlInput
.
source§impl CreateUploadUrlInputBuilder
impl CreateUploadUrlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateUploadUrlOutput, SdkError<CreateUploadUrlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateUploadUrlOutput, SdkError<CreateUploadUrlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateUploadUrlInputBuilder
impl Clone for CreateUploadUrlInputBuilder
source§fn clone(&self) -> CreateUploadUrlInputBuilder
fn clone(&self) -> CreateUploadUrlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateUploadUrlInputBuilder
impl Debug for CreateUploadUrlInputBuilder
source§impl Default for CreateUploadUrlInputBuilder
impl Default for CreateUploadUrlInputBuilder
source§fn default() -> CreateUploadUrlInputBuilder
fn default() -> CreateUploadUrlInputBuilder
source§impl PartialEq for CreateUploadUrlInputBuilder
impl PartialEq for CreateUploadUrlInputBuilder
source§fn eq(&self, other: &CreateUploadUrlInputBuilder) -> bool
fn eq(&self, other: &CreateUploadUrlInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateUploadUrlInputBuilder
Auto Trait Implementations§
impl Freeze for CreateUploadUrlInputBuilder
impl RefUnwindSafe for CreateUploadUrlInputBuilder
impl Send for CreateUploadUrlInputBuilder
impl Sync for CreateUploadUrlInputBuilder
impl Unpin for CreateUploadUrlInputBuilder
impl UnwindSafe for CreateUploadUrlInputBuilder
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> 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