Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl LaunchTemplate
impl LaunchTemplate
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplate
.
Trait Implementations
sourceimpl Clone for LaunchTemplate
impl Clone for LaunchTemplate
sourcefn clone(&self) -> LaunchTemplate
fn clone(&self) -> LaunchTemplate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LaunchTemplate
impl Debug for LaunchTemplate
sourceimpl PartialEq<LaunchTemplate> for LaunchTemplate
impl PartialEq<LaunchTemplate> for LaunchTemplate
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &LaunchTemplate) -> bool
fn ne(&self, other: &LaunchTemplate) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more