#[non_exhaustive]pub struct BatchGetImageInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetImageInput
.
Implementations§
source§impl BatchGetImageInputBuilder
impl BatchGetImageInputBuilder
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 images to describe. 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 images to describe. 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 images to describe. 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 repository that contains the images to describe.
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 repository that contains the images to describe.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The repository that contains the images to describe.
sourcepub fn image_ids(self, input: ImageIdentifier) -> Self
pub fn image_ids(self, input: ImageIdentifier) -> Self
Appends an item to image_ids
.
To override the contents of this collection use set_image_ids
.
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
pub fn set_image_ids(self, input: Option<Vec<ImageIdentifier>>) -> Self
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn get_image_ids(&self) -> &Option<Vec<ImageIdentifier>>
pub fn get_image_ids(&self) -> &Option<Vec<ImageIdentifier>>
A list of image ID references that correspond to images to describe. The format of the imageIds
reference is imageTag=tag
or imageDigest=digest
.
sourcepub fn accepted_media_types(self, input: impl Into<String>) -> Self
pub fn accepted_media_types(self, input: impl Into<String>) -> Self
Appends an item to accepted_media_types
.
To override the contents of this collection use set_accepted_media_types
.
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
pub fn set_accepted_media_types(self, input: Option<Vec<String>>) -> Self
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn get_accepted_media_types(&self) -> &Option<Vec<String>>
pub fn get_accepted_media_types(&self) -> &Option<Vec<String>>
The accepted media types for the request.
Valid values: application/vnd.docker.distribution.manifest.v1+json
| application/vnd.docker.distribution.manifest.v2+json
| application/vnd.oci.image.manifest.v1+json
sourcepub fn build(self) -> Result<BatchGetImageInput, BuildError>
pub fn build(self) -> Result<BatchGetImageInput, BuildError>
Consumes the builder and constructs a BatchGetImageInput
.
source§impl BatchGetImageInputBuilder
impl BatchGetImageInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetImageOutput, SdkError<BatchGetImageError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetImageOutput, SdkError<BatchGetImageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetImageInputBuilder
impl Clone for BatchGetImageInputBuilder
source§fn clone(&self) -> BatchGetImageInputBuilder
fn clone(&self) -> BatchGetImageInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetImageInputBuilder
impl Debug for BatchGetImageInputBuilder
source§impl Default for BatchGetImageInputBuilder
impl Default for BatchGetImageInputBuilder
source§fn default() -> BatchGetImageInputBuilder
fn default() -> BatchGetImageInputBuilder
source§impl PartialEq for BatchGetImageInputBuilder
impl PartialEq for BatchGetImageInputBuilder
source§fn eq(&self, other: &BatchGetImageInputBuilder) -> bool
fn eq(&self, other: &BatchGetImageInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetImageInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetImageInputBuilder
impl RefUnwindSafe for BatchGetImageInputBuilder
impl Send for BatchGetImageInputBuilder
impl Sync for BatchGetImageInputBuilder
impl Unpin for BatchGetImageInputBuilder
impl UnwindSafe for BatchGetImageInputBuilder
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