Struct aws_sdk_ec2::types::builders::LaunchTemplateConfigBuilder
source · #[non_exhaustive]pub struct LaunchTemplateConfigBuilder { /* private fields */ }
Expand description
A builder for LaunchTemplateConfig
.
Implementations§
source§impl LaunchTemplateConfigBuilder
impl LaunchTemplateConfigBuilder
sourcepub fn launch_template_specification(
self,
input: FleetLaunchTemplateSpecification
) -> Self
pub fn launch_template_specification( self, input: FleetLaunchTemplateSpecification ) -> Self
The launch template to use. Make sure that the launch template does not contain the NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
sourcepub fn set_launch_template_specification(
self,
input: Option<FleetLaunchTemplateSpecification>
) -> Self
pub fn set_launch_template_specification( self, input: Option<FleetLaunchTemplateSpecification> ) -> Self
The launch template to use. Make sure that the launch template does not contain the NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
sourcepub fn get_launch_template_specification(
&self
) -> &Option<FleetLaunchTemplateSpecification>
pub fn get_launch_template_specification( &self ) -> &Option<FleetLaunchTemplateSpecification>
The launch template to use. Make sure that the launch template does not contain the NetworkInterfaceId
parameter because you can't specify a network interface ID in a Spot Fleet.
sourcepub fn overrides(self, input: LaunchTemplateOverrides) -> Self
pub fn overrides(self, input: LaunchTemplateOverrides) -> Self
Appends an item to overrides
.
To override the contents of this collection use set_overrides
.
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn set_overrides(self, input: Option<Vec<LaunchTemplateOverrides>>) -> Self
pub fn set_overrides(self, input: Option<Vec<LaunchTemplateOverrides>>) -> Self
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn get_overrides(&self) -> &Option<Vec<LaunchTemplateOverrides>>
pub fn get_overrides(&self) -> &Option<Vec<LaunchTemplateOverrides>>
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn build(self) -> LaunchTemplateConfig
pub fn build(self) -> LaunchTemplateConfig
Consumes the builder and constructs a LaunchTemplateConfig
.
Trait Implementations§
source§impl Clone for LaunchTemplateConfigBuilder
impl Clone for LaunchTemplateConfigBuilder
source§fn clone(&self) -> LaunchTemplateConfigBuilder
fn clone(&self) -> LaunchTemplateConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchTemplateConfigBuilder
impl Debug for LaunchTemplateConfigBuilder
source§impl Default for LaunchTemplateConfigBuilder
impl Default for LaunchTemplateConfigBuilder
source§fn default() -> LaunchTemplateConfigBuilder
fn default() -> LaunchTemplateConfigBuilder
source§impl PartialEq<LaunchTemplateConfigBuilder> for LaunchTemplateConfigBuilder
impl PartialEq<LaunchTemplateConfigBuilder> for LaunchTemplateConfigBuilder
source§fn eq(&self, other: &LaunchTemplateConfigBuilder) -> bool
fn eq(&self, other: &LaunchTemplateConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.