#[non_exhaustive]pub struct FleetLaunchTemplateConfigBuilder { /* private fields */ }
Expand description
A builder for FleetLaunchTemplateConfig
.
Implementations§
source§impl FleetLaunchTemplateConfigBuilder
impl FleetLaunchTemplateConfigBuilder
sourcepub fn launch_template_specification(
self,
input: FleetLaunchTemplateSpecification,
) -> Self
pub fn launch_template_specification( self, input: FleetLaunchTemplateSpecification, ) -> Self
The launch template.
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.
sourcepub fn get_launch_template_specification(
&self,
) -> &Option<FleetLaunchTemplateSpecification>
pub fn get_launch_template_specification( &self, ) -> &Option<FleetLaunchTemplateSpecification>
The launch template.
sourcepub fn overrides(self, input: FleetLaunchTemplateOverrides) -> Self
pub fn overrides(self, input: FleetLaunchTemplateOverrides) -> 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<FleetLaunchTemplateOverrides>>,
) -> Self
pub fn set_overrides( self, input: Option<Vec<FleetLaunchTemplateOverrides>>, ) -> Self
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn get_overrides(&self) -> &Option<Vec<FleetLaunchTemplateOverrides>>
pub fn get_overrides(&self) -> &Option<Vec<FleetLaunchTemplateOverrides>>
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn build(self) -> FleetLaunchTemplateConfig
pub fn build(self) -> FleetLaunchTemplateConfig
Consumes the builder and constructs a FleetLaunchTemplateConfig
.
Trait Implementations§
source§impl Clone for FleetLaunchTemplateConfigBuilder
impl Clone for FleetLaunchTemplateConfigBuilder
source§fn clone(&self) -> FleetLaunchTemplateConfigBuilder
fn clone(&self) -> FleetLaunchTemplateConfigBuilder
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 FleetLaunchTemplateConfigBuilder
impl Default for FleetLaunchTemplateConfigBuilder
source§fn default() -> FleetLaunchTemplateConfigBuilder
fn default() -> FleetLaunchTemplateConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FleetLaunchTemplateConfigBuilder
impl PartialEq for FleetLaunchTemplateConfigBuilder
source§fn eq(&self, other: &FleetLaunchTemplateConfigBuilder) -> bool
fn eq(&self, other: &FleetLaunchTemplateConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FleetLaunchTemplateConfigBuilder
Auto Trait Implementations§
impl Freeze for FleetLaunchTemplateConfigBuilder
impl RefUnwindSafe for FleetLaunchTemplateConfigBuilder
impl Send for FleetLaunchTemplateConfigBuilder
impl Sync for FleetLaunchTemplateConfigBuilder
impl Unpin for FleetLaunchTemplateConfigBuilder
impl UnwindSafe for FleetLaunchTemplateConfigBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.