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<CreateUploadUrlInputBuilder> for CreateUploadUrlInputBuilder
impl PartialEq<CreateUploadUrlInputBuilder> 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 ==
.