#[non_exhaustive]pub struct StartImageScanInputBuilder { /* private fields */ }
Expand description
A builder for StartImageScanInput
.
Implementations§
source§impl StartImageScanInputBuilder
impl StartImageScanInputBuilder
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID associated with the registry that contains the repository in which to start an image scan request. If you do not specify a registry, the default registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository that contains the images to scan.
This field is required.sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository that contains the images to scan.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that contains the images to scan.
sourcepub fn image_id(self, input: ImageIdentifier) -> Self
pub fn image_id(self, input: ImageIdentifier) -> Self
An object with identifying information for an image in an Amazon ECR repository.
This field is required.sourcepub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
pub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn get_image_id(&self) -> &Option<ImageIdentifier>
pub fn get_image_id(&self) -> &Option<ImageIdentifier>
An object with identifying information for an image in an Amazon ECR repository.
sourcepub fn build(self) -> Result<StartImageScanInput, BuildError>
pub fn build(self) -> Result<StartImageScanInput, BuildError>
Consumes the builder and constructs a StartImageScanInput
.
source§impl StartImageScanInputBuilder
impl StartImageScanInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartImageScanOutput, SdkError<StartImageScanError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartImageScanOutput, SdkError<StartImageScanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartImageScanInputBuilder
impl Clone for StartImageScanInputBuilder
source§fn clone(&self) -> StartImageScanInputBuilder
fn clone(&self) -> StartImageScanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartImageScanInputBuilder
impl Debug for StartImageScanInputBuilder
source§impl Default for StartImageScanInputBuilder
impl Default for StartImageScanInputBuilder
source§fn default() -> StartImageScanInputBuilder
fn default() -> StartImageScanInputBuilder
source§impl PartialEq for StartImageScanInputBuilder
impl PartialEq for StartImageScanInputBuilder
source§fn eq(&self, other: &StartImageScanInputBuilder) -> bool
fn eq(&self, other: &StartImageScanInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.