Struct aws_sdk_ecrpublic::types::builders::ImageBuilder
source · #[non_exhaustive]pub struct ImageBuilder { /* private fields */ }
Expand description
A builder for Image
.
Implementations§
source§impl ImageBuilder
impl ImageBuilder
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 that's associated with the registry containing the image.
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 that's associated with the registry containing the image.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account ID that's associated with the registry containing the image.
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's associated with the image.
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's associated with the image.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that's associated with the image.
sourcepub fn image_id(self, input: ImageIdentifier) -> Self
pub fn image_id(self, input: ImageIdentifier) -> Self
An object that contains the image tag and image digest associated with an image.
sourcepub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
pub fn set_image_id(self, input: Option<ImageIdentifier>) -> Self
An object that contains the image tag and image digest associated with an image.
sourcepub fn get_image_id(&self) -> &Option<ImageIdentifier>
pub fn get_image_id(&self) -> &Option<ImageIdentifier>
An object that contains the image tag and image digest associated with an image.
sourcepub fn image_manifest(self, input: impl Into<String>) -> Self
pub fn image_manifest(self, input: impl Into<String>) -> Self
The image manifest that's associated with the image.
sourcepub fn set_image_manifest(self, input: Option<String>) -> Self
pub fn set_image_manifest(self, input: Option<String>) -> Self
The image manifest that's associated with the image.
sourcepub fn get_image_manifest(&self) -> &Option<String>
pub fn get_image_manifest(&self) -> &Option<String>
The image manifest that's associated with the image.
sourcepub fn image_manifest_media_type(self, input: impl Into<String>) -> Self
pub fn image_manifest_media_type(self, input: impl Into<String>) -> Self
The manifest media type of the image.
sourcepub fn set_image_manifest_media_type(self, input: Option<String>) -> Self
pub fn set_image_manifest_media_type(self, input: Option<String>) -> Self
The manifest media type of the image.
sourcepub fn get_image_manifest_media_type(&self) -> &Option<String>
pub fn get_image_manifest_media_type(&self) -> &Option<String>
The manifest media type of the image.
Trait Implementations§
source§impl Clone for ImageBuilder
impl Clone for ImageBuilder
source§fn clone(&self) -> ImageBuilder
fn clone(&self) -> ImageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImageBuilder
impl Debug for ImageBuilder
source§impl Default for ImageBuilder
impl Default for ImageBuilder
source§fn default() -> ImageBuilder
fn default() -> ImageBuilder
source§impl PartialEq for ImageBuilder
impl PartialEq for ImageBuilder
source§fn eq(&self, other: &ImageBuilder) -> bool
fn eq(&self, other: &ImageBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageBuilder
Auto Trait Implementations§
impl Freeze for ImageBuilder
impl RefUnwindSafe for ImageBuilder
impl Send for ImageBuilder
impl Sync for ImageBuilder
impl Unpin for ImageBuilder
impl UnwindSafe for ImageBuilder
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