#[non_exhaustive]pub struct LaunchTemplateConfigurationBuilder { /* private fields */ }
Expand description
A builder for LaunchTemplateConfiguration
.
Implementations§
source§impl LaunchTemplateConfigurationBuilder
impl LaunchTemplateConfigurationBuilder
sourcepub fn launch_template_id(self, input: impl Into<String>) -> Self
pub fn launch_template_id(self, input: impl Into<String>) -> Self
Identifies the Amazon EC2 launch template to use.
sourcepub fn set_launch_template_id(self, input: Option<String>) -> Self
pub fn set_launch_template_id(self, input: Option<String>) -> Self
Identifies the Amazon EC2 launch template to use.
sourcepub fn get_launch_template_id(&self) -> &Option<String>
pub fn get_launch_template_id(&self) -> &Option<String>
Identifies the Amazon EC2 launch template to use.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID that this configuration applies to.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID that this configuration applies to.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID that this configuration applies to.
sourcepub fn set_default_version(self, input: bool) -> Self
pub fn set_default_version(self, input: bool) -> Self
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
sourcepub fn set_set_default_version(self, input: Option<bool>) -> Self
pub fn set_set_default_version(self, input: Option<bool>) -> Self
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
sourcepub fn get_set_default_version(&self) -> &Option<bool>
pub fn get_set_default_version(&self) -> &Option<bool>
Set the specified Amazon EC2 launch template as the default launch template for the specified account.
sourcepub fn build(self) -> LaunchTemplateConfiguration
pub fn build(self) -> LaunchTemplateConfiguration
Consumes the builder and constructs a LaunchTemplateConfiguration
.
Trait Implementations§
source§impl Clone for LaunchTemplateConfigurationBuilder
impl Clone for LaunchTemplateConfigurationBuilder
source§fn clone(&self) -> LaunchTemplateConfigurationBuilder
fn clone(&self) -> LaunchTemplateConfigurationBuilder
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 Default for LaunchTemplateConfigurationBuilder
impl Default for LaunchTemplateConfigurationBuilder
source§fn default() -> LaunchTemplateConfigurationBuilder
fn default() -> LaunchTemplateConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<LaunchTemplateConfigurationBuilder> for LaunchTemplateConfigurationBuilder
impl PartialEq<LaunchTemplateConfigurationBuilder> for LaunchTemplateConfigurationBuilder
source§fn eq(&self, other: &LaunchTemplateConfigurationBuilder) -> bool
fn eq(&self, other: &LaunchTemplateConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LaunchTemplateConfigurationBuilder
impl Send for LaunchTemplateConfigurationBuilder
impl Sync for LaunchTemplateConfigurationBuilder
impl Unpin for LaunchTemplateConfigurationBuilder
impl UnwindSafe for LaunchTemplateConfigurationBuilder
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