Struct aws_sdk_imagebuilder::model::ImageSummary
source · #[non_exhaustive]pub struct ImageSummary { /* private fields */ }
Expand description
An image summary.
Implementations§
source§impl ImageSummary
impl ImageSummary
sourcepub fn os_version(&self) -> Option<&str>
pub fn os_version(&self) -> Option<&str>
The operating system version of the instance. For example, Amazon Linux 2, Ubuntu 18, or Microsoft Windows Server 2019.
sourcepub fn state(&self) -> Option<&ImageState>
pub fn state(&self) -> Option<&ImageState>
The state of the image.
sourcepub fn date_created(&self) -> Option<&str>
pub fn date_created(&self) -> Option<&str>
The date on which this image was created.
sourcepub fn output_resources(&self) -> Option<&OutputResources>
pub fn output_resources(&self) -> Option<&OutputResources>
The output resources produced when creating this image.
The tags of the image.
sourcepub fn build_type(&self) -> Option<&BuildType>
pub fn build_type(&self) -> Option<&BuildType>
Indicates the type of build that created this image. The build can be initiated in the following ways:
-
USER_INITIATED – A manual pipeline build request.
-
SCHEDULED – A pipeline build initiated by a cron expression in the Image Builder pipeline, or from EventBridge.
-
IMPORT – A VM import created the image to use as the base image for the recipe.
source§impl ImageSummary
impl ImageSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ImageSummary
.
Trait Implementations§
source§impl Clone for ImageSummary
impl Clone for ImageSummary
source§fn clone(&self) -> ImageSummary
fn clone(&self) -> ImageSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageSummary
impl Debug for ImageSummary
source§impl PartialEq<ImageSummary> for ImageSummary
impl PartialEq<ImageSummary> for ImageSummary
source§fn eq(&self, other: &ImageSummary) -> bool
fn eq(&self, other: &ImageSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.