Struct aws_sdk_ec2::types::LaunchTemplate
source · #[non_exhaustive]pub struct LaunchTemplate {
pub launch_template_id: Option<String>,
pub launch_template_name: Option<String>,
pub create_time: Option<DateTime>,
pub created_by: Option<String>,
pub default_version_number: Option<i64>,
pub latest_version_number: Option<i64>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a launch template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
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.
create_time: Option<DateTime>
The time launch template was created.
created_by: Option<String>
The principal that created the launch template.
default_version_number: Option<i64>
The version number of the default version of the launch template.
latest_version_number: Option<i64>
The version number of the latest version of the launch template.
The tags for the launch template.
Implementations§
source§impl LaunchTemplate
impl LaunchTemplate
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 create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time launch template was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The principal that created the launch template.
sourcepub fn default_version_number(&self) -> Option<i64>
pub fn default_version_number(&self) -> Option<i64>
The version number of the default version of the launch template.
sourcepub fn latest_version_number(&self) -> Option<i64>
pub fn latest_version_number(&self) -> Option<i64>
The version number of the latest version of the launch template.
The tags for the launch template.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl LaunchTemplate
impl LaunchTemplate
sourcepub fn builder() -> LaunchTemplateBuilder
pub fn builder() -> LaunchTemplateBuilder
Creates a new builder-style object to manufacture LaunchTemplate
.
Trait Implementations§
source§impl Clone for LaunchTemplate
impl Clone for LaunchTemplate
source§fn clone(&self) -> LaunchTemplate
fn clone(&self) -> LaunchTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchTemplate
impl Debug for LaunchTemplate
source§impl PartialEq for LaunchTemplate
impl PartialEq for LaunchTemplate
source§fn eq(&self, other: &LaunchTemplate) -> bool
fn eq(&self, other: &LaunchTemplate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplate
Auto Trait Implementations§
impl Freeze for LaunchTemplate
impl RefUnwindSafe for LaunchTemplate
impl Send for LaunchTemplate
impl Sync for LaunchTemplate
impl Unpin for LaunchTemplate
impl UnwindSafe for LaunchTemplate
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