#[non_exhaustive]pub struct FleetLaunchTemplateConfigRequestBuilder { /* private fields */ }
Expand description
A builder for FleetLaunchTemplateConfigRequest
.
Implementations§
source§impl FleetLaunchTemplateConfigRequestBuilder
impl FleetLaunchTemplateConfigRequestBuilder
sourcepub fn launch_template_specification(
self,
input: FleetLaunchTemplateSpecificationRequest,
) -> Self
pub fn launch_template_specification( self, input: FleetLaunchTemplateSpecificationRequest, ) -> Self
The launch template to use. You must specify either the launch template ID or launch template name in the request.
sourcepub fn set_launch_template_specification(
self,
input: Option<FleetLaunchTemplateSpecificationRequest>,
) -> Self
pub fn set_launch_template_specification( self, input: Option<FleetLaunchTemplateSpecificationRequest>, ) -> Self
The launch template to use. You must specify either the launch template ID or launch template name in the request.
sourcepub fn get_launch_template_specification(
&self,
) -> &Option<FleetLaunchTemplateSpecificationRequest>
pub fn get_launch_template_specification( &self, ) -> &Option<FleetLaunchTemplateSpecificationRequest>
The launch template to use. You must specify either the launch template ID or launch template name in the request.
sourcepub fn overrides(self, input: FleetLaunchTemplateOverridesRequest) -> Self
pub fn overrides(self, input: FleetLaunchTemplateOverridesRequest) -> 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.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all launch templates.
sourcepub fn set_overrides(
self,
input: Option<Vec<FleetLaunchTemplateOverridesRequest>>,
) -> Self
pub fn set_overrides( self, input: Option<Vec<FleetLaunchTemplateOverridesRequest>>, ) -> Self
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all launch templates.
sourcepub fn get_overrides(&self) -> &Option<Vec<FleetLaunchTemplateOverridesRequest>>
pub fn get_overrides(&self) -> &Option<Vec<FleetLaunchTemplateOverridesRequest>>
Any parameters that you specify override the same parameters in the launch template.
For fleets of type request
and maintain
, a maximum of 300 items is allowed across all launch templates.
sourcepub fn build(self) -> FleetLaunchTemplateConfigRequest
pub fn build(self) -> FleetLaunchTemplateConfigRequest
Consumes the builder and constructs a FleetLaunchTemplateConfigRequest
.
Trait Implementations§
source§impl Clone for FleetLaunchTemplateConfigRequestBuilder
impl Clone for FleetLaunchTemplateConfigRequestBuilder
source§fn clone(&self) -> FleetLaunchTemplateConfigRequestBuilder
fn clone(&self) -> FleetLaunchTemplateConfigRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FleetLaunchTemplateConfigRequestBuilder
impl Default for FleetLaunchTemplateConfigRequestBuilder
source§fn default() -> FleetLaunchTemplateConfigRequestBuilder
fn default() -> FleetLaunchTemplateConfigRequestBuilder
source§impl PartialEq for FleetLaunchTemplateConfigRequestBuilder
impl PartialEq for FleetLaunchTemplateConfigRequestBuilder
source§fn eq(&self, other: &FleetLaunchTemplateConfigRequestBuilder) -> bool
fn eq(&self, other: &FleetLaunchTemplateConfigRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FleetLaunchTemplateConfigRequestBuilder
Auto Trait Implementations§
impl Freeze for FleetLaunchTemplateConfigRequestBuilder
impl RefUnwindSafe for FleetLaunchTemplateConfigRequestBuilder
impl Send for FleetLaunchTemplateConfigRequestBuilder
impl Sync for FleetLaunchTemplateConfigRequestBuilder
impl Unpin for FleetLaunchTemplateConfigRequestBuilder
impl UnwindSafe for FleetLaunchTemplateConfigRequestBuilder
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> 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