Struct aws_sdk_ec2::types::builders::LaunchTemplateVersionBuilder
source · #[non_exhaustive]pub struct LaunchTemplateVersionBuilder { /* private fields */ }
Expand description
A builder for LaunchTemplateVersion
.
Implementations§
source§impl LaunchTemplateVersionBuilder
impl LaunchTemplateVersionBuilder
sourcepub fn launch_template_id(self, input: impl Into<String>) -> Self
pub fn launch_template_id(self, input: impl Into<String>) -> Self
The ID of the launch template.
sourcepub fn set_launch_template_id(self, input: Option<String>) -> Self
pub fn set_launch_template_id(self, input: Option<String>) -> Self
The ID of the launch template.
sourcepub fn get_launch_template_id(&self) -> &Option<String>
pub fn get_launch_template_id(&self) -> &Option<String>
The ID of the launch template.
sourcepub fn launch_template_name(self, input: impl Into<String>) -> Self
pub fn launch_template_name(self, input: impl Into<String>) -> Self
The name of the launch template.
sourcepub fn set_launch_template_name(self, input: Option<String>) -> Self
pub fn set_launch_template_name(self, input: Option<String>) -> Self
The name of the launch template.
sourcepub fn get_launch_template_name(&self) -> &Option<String>
pub fn get_launch_template_name(&self) -> &Option<String>
The name of the launch template.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
The version number.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
The version number.
sourcepub fn get_version_number(&self) -> &Option<i64>
pub fn get_version_number(&self) -> &Option<i64>
The version number.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
The description for the version.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
The description for the version.
sourcepub fn get_version_description(&self) -> &Option<String>
pub fn get_version_description(&self) -> &Option<String>
The description for the version.
sourcepub fn create_time(self, input: DateTime) -> Self
pub fn create_time(self, input: DateTime) -> Self
The time the version was created.
sourcepub fn set_create_time(self, input: Option<DateTime>) -> Self
pub fn set_create_time(self, input: Option<DateTime>) -> Self
The time the version was created.
sourcepub fn get_create_time(&self) -> &Option<DateTime>
pub fn get_create_time(&self) -> &Option<DateTime>
The time the version was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The principal that created the version.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The principal that created the version.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The principal that created the version.
sourcepub fn default_version(self, input: bool) -> Self
pub fn default_version(self, input: bool) -> Self
Indicates whether the version is the default version.
sourcepub fn set_default_version(self, input: Option<bool>) -> Self
pub fn set_default_version(self, input: Option<bool>) -> Self
Indicates whether the version is the default version.
sourcepub fn get_default_version(&self) -> &Option<bool>
pub fn get_default_version(&self) -> &Option<bool>
Indicates whether the version is the default version.
sourcepub fn launch_template_data(self, input: ResponseLaunchTemplateData) -> Self
pub fn launch_template_data(self, input: ResponseLaunchTemplateData) -> Self
Information about the launch template.
sourcepub fn set_launch_template_data(
self,
input: Option<ResponseLaunchTemplateData>
) -> Self
pub fn set_launch_template_data( self, input: Option<ResponseLaunchTemplateData> ) -> Self
Information about the launch template.
sourcepub fn get_launch_template_data(&self) -> &Option<ResponseLaunchTemplateData>
pub fn get_launch_template_data(&self) -> &Option<ResponseLaunchTemplateData>
Information about the launch template.
sourcepub fn build(self) -> LaunchTemplateVersion
pub fn build(self) -> LaunchTemplateVersion
Consumes the builder and constructs a LaunchTemplateVersion
.
Trait Implementations§
source§impl Clone for LaunchTemplateVersionBuilder
impl Clone for LaunchTemplateVersionBuilder
source§fn clone(&self) -> LaunchTemplateVersionBuilder
fn clone(&self) -> LaunchTemplateVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchTemplateVersionBuilder
impl Debug for LaunchTemplateVersionBuilder
source§impl Default for LaunchTemplateVersionBuilder
impl Default for LaunchTemplateVersionBuilder
source§fn default() -> LaunchTemplateVersionBuilder
fn default() -> LaunchTemplateVersionBuilder
source§impl PartialEq<LaunchTemplateVersionBuilder> for LaunchTemplateVersionBuilder
impl PartialEq<LaunchTemplateVersionBuilder> for LaunchTemplateVersionBuilder
source§fn eq(&self, other: &LaunchTemplateVersionBuilder) -> bool
fn eq(&self, other: &LaunchTemplateVersionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.