#[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<FleetLaunchTemplateConfigBuilder> for FleetLaunchTemplateConfigBuilder
impl PartialEq<FleetLaunchTemplateConfigBuilder> 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 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