Struct aws_sdk_ec2::types::LaunchTemplateVersion
source · #[non_exhaustive]pub struct LaunchTemplateVersion {
pub launch_template_id: Option<String>,
pub launch_template_name: Option<String>,
pub version_number: Option<i64>,
pub version_description: Option<String>,
pub create_time: Option<DateTime>,
pub created_by: Option<String>,
pub default_version: Option<bool>,
pub launch_template_data: Option<ResponseLaunchTemplateData>,
}
Expand description
Describes a launch template version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.launch_template_id: Option<String>
The ID of the launch template.
launch_template_name: Option<String>
The name of the launch template.
version_number: Option<i64>
The version number.
version_description: Option<String>
The description for the version.
create_time: Option<DateTime>
The time the version was created.
created_by: Option<String>
The principal that created the version.
default_version: Option<bool>
Indicates whether the version is the default version.
launch_template_data: Option<ResponseLaunchTemplateData>
Information about the launch template.
Implementations§
source§impl LaunchTemplateVersion
impl LaunchTemplateVersion
sourcepub fn launch_template_id(&self) -> Option<&str>
pub fn launch_template_id(&self) -> Option<&str>
The ID of the launch template.
sourcepub fn launch_template_name(&self) -> Option<&str>
pub fn launch_template_name(&self) -> Option<&str>
The name of the launch template.
sourcepub fn version_number(&self) -> Option<i64>
pub fn version_number(&self) -> Option<i64>
The version number.
sourcepub fn version_description(&self) -> Option<&str>
pub fn version_description(&self) -> Option<&str>
The description for the version.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time the version was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The principal that created the version.
sourcepub fn default_version(&self) -> Option<bool>
pub fn default_version(&self) -> Option<bool>
Indicates whether the version is the default version.
sourcepub fn launch_template_data(&self) -> Option<&ResponseLaunchTemplateData>
pub fn launch_template_data(&self) -> Option<&ResponseLaunchTemplateData>
Information about the launch template.
source§impl LaunchTemplateVersion
impl LaunchTemplateVersion
sourcepub fn builder() -> LaunchTemplateVersionBuilder
pub fn builder() -> LaunchTemplateVersionBuilder
Creates a new builder-style object to manufacture LaunchTemplateVersion
.
Trait Implementations§
source§impl Clone for LaunchTemplateVersion
impl Clone for LaunchTemplateVersion
source§fn clone(&self) -> LaunchTemplateVersion
fn clone(&self) -> LaunchTemplateVersion
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 LaunchTemplateVersion
impl Debug for LaunchTemplateVersion
source§impl PartialEq for LaunchTemplateVersion
impl PartialEq for LaunchTemplateVersion
source§fn eq(&self, other: &LaunchTemplateVersion) -> bool
fn eq(&self, other: &LaunchTemplateVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateVersion
Auto Trait Implementations§
impl Freeze for LaunchTemplateVersion
impl RefUnwindSafe for LaunchTemplateVersion
impl Send for LaunchTemplateVersion
impl Sync for LaunchTemplateVersion
impl Unpin for LaunchTemplateVersion
impl UnwindSafe for LaunchTemplateVersion
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.