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
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.
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.
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
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 LaunchTemplate
impl Debug for LaunchTemplate
source§impl PartialEq<LaunchTemplate> for LaunchTemplate
impl PartialEq<LaunchTemplate> for LaunchTemplate
source§fn eq(&self, other: &LaunchTemplate) -> bool
fn eq(&self, other: &LaunchTemplate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplate
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more