#[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 ==
.impl StructuralPartialEq for StartImageScanInputBuilder
Auto Trait Implementations§
impl Freeze for StartImageScanInputBuilder
impl RefUnwindSafe for StartImageScanInputBuilder
impl Send for StartImageScanInputBuilder
impl Sync for StartImageScanInputBuilder
impl Unpin for StartImageScanInputBuilder
impl UnwindSafe for StartImageScanInputBuilder
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