#[non_exhaustive]pub struct AwsEcrContainerImageDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEcrContainerImageDetails
.
Implementations§
source§impl AwsEcrContainerImageDetailsBuilder
impl AwsEcrContainerImageDetailsBuilder
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 identifier that is associated with the registry that the image belongs to.
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 identifier that is associated with the registry that the image belongs to.
sourcepub fn get_registry_id(&self) -> &Option<String>
pub fn get_registry_id(&self) -> &Option<String>
The Amazon Web Services account identifier that is associated with the registry that the image belongs to.
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 the image belongs to.
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 the image belongs to.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that the image belongs to.
sourcepub fn architecture(self, input: impl Into<String>) -> Self
pub fn architecture(self, input: impl Into<String>) -> Self
The architecture of the image. Valid values are as follows:
-
arm64
-
i386
-
x86_64
sourcepub fn set_architecture(self, input: Option<String>) -> Self
pub fn set_architecture(self, input: Option<String>) -> Self
The architecture of the image. Valid values are as follows:
-
arm64
-
i386
-
x86_64
sourcepub fn get_architecture(&self) -> &Option<String>
pub fn get_architecture(&self) -> &Option<String>
The architecture of the image. Valid values are as follows:
-
arm64
-
i386
-
x86_64
sourcepub fn image_digest(self, input: impl Into<String>) -> Self
pub fn image_digest(self, input: impl Into<String>) -> Self
The sha256 digest of the image manifest.
sourcepub fn set_image_digest(self, input: Option<String>) -> Self
pub fn set_image_digest(self, input: Option<String>) -> Self
The sha256 digest of the image manifest.
sourcepub fn get_image_digest(&self) -> &Option<String>
pub fn get_image_digest(&self) -> &Option<String>
The sha256 digest of the image manifest.
Appends an item to image_tags
.
To override the contents of this collection use set_image_tags
.
The list of tags that are associated with the image.
The list of tags that are associated with the image.
The list of tags that are associated with the image.
sourcepub fn image_published_at(self, input: impl Into<String>) -> Self
pub fn image_published_at(self, input: impl Into<String>) -> Self
The date and time when the image was pushed to the repository.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_image_published_at(self, input: Option<String>) -> Self
pub fn set_image_published_at(self, input: Option<String>) -> Self
The date and time when the image was pushed to the repository.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_image_published_at(&self) -> &Option<String>
pub fn get_image_published_at(&self) -> &Option<String>
The date and time when the image was pushed to the repository.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn build(self) -> AwsEcrContainerImageDetails
pub fn build(self) -> AwsEcrContainerImageDetails
Consumes the builder and constructs a AwsEcrContainerImageDetails
.
Trait Implementations§
source§impl Clone for AwsEcrContainerImageDetailsBuilder
impl Clone for AwsEcrContainerImageDetailsBuilder
source§fn clone(&self) -> AwsEcrContainerImageDetailsBuilder
fn clone(&self) -> AwsEcrContainerImageDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcrContainerImageDetailsBuilder
impl Default for AwsEcrContainerImageDetailsBuilder
source§fn default() -> AwsEcrContainerImageDetailsBuilder
fn default() -> AwsEcrContainerImageDetailsBuilder
source§impl PartialEq for AwsEcrContainerImageDetailsBuilder
impl PartialEq for AwsEcrContainerImageDetailsBuilder
source§fn eq(&self, other: &AwsEcrContainerImageDetailsBuilder) -> bool
fn eq(&self, other: &AwsEcrContainerImageDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.