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 ==
.