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 for LaunchTemplateConfigBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for LaunchTemplateConfigBuilder
Auto Trait Implementations§
impl Freeze for LaunchTemplateConfigBuilder
impl RefUnwindSafe for LaunchTemplateConfigBuilder
impl Send for LaunchTemplateConfigBuilder
impl Sync for LaunchTemplateConfigBuilder
impl Unpin for LaunchTemplateConfigBuilder
impl UnwindSafe for LaunchTemplateConfigBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more