#[non_exhaustive]pub struct FleetLaunchTemplateConfigRequest {
pub launch_template_specification: Option<FleetLaunchTemplateSpecificationRequest>,
pub overrides: Option<Vec<FleetLaunchTemplateOverridesRequest>>,
}
Expand description
Describes a launch template and overrides.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.launch_template_specification: Option<FleetLaunchTemplateSpecificationRequest>
The launch template to use. You must specify either the launch template ID or launch template name in the request.
overrides: 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.
Implementations§
source§impl FleetLaunchTemplateConfigRequest
impl FleetLaunchTemplateConfigRequest
sourcepub fn launch_template_specification(
&self
) -> Option<&FleetLaunchTemplateSpecificationRequest>
pub fn 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) -> &[FleetLaunchTemplateOverridesRequest]
pub fn overrides(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .overrides.is_none()
.
source§impl FleetLaunchTemplateConfigRequest
impl FleetLaunchTemplateConfigRequest
sourcepub fn builder() -> FleetLaunchTemplateConfigRequestBuilder
pub fn builder() -> FleetLaunchTemplateConfigRequestBuilder
Creates a new builder-style object to manufacture FleetLaunchTemplateConfigRequest
.
Trait Implementations§
source§impl Clone for FleetLaunchTemplateConfigRequest
impl Clone for FleetLaunchTemplateConfigRequest
source§fn clone(&self) -> FleetLaunchTemplateConfigRequest
fn clone(&self) -> FleetLaunchTemplateConfigRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for FleetLaunchTemplateConfigRequest
impl PartialEq for FleetLaunchTemplateConfigRequest
source§fn eq(&self, other: &FleetLaunchTemplateConfigRequest) -> bool
fn eq(&self, other: &FleetLaunchTemplateConfigRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FleetLaunchTemplateConfigRequest
Auto Trait Implementations§
impl Freeze for FleetLaunchTemplateConfigRequest
impl RefUnwindSafe for FleetLaunchTemplateConfigRequest
impl Send for FleetLaunchTemplateConfigRequest
impl Sync for FleetLaunchTemplateConfigRequest
impl Unpin for FleetLaunchTemplateConfigRequest
impl UnwindSafe for FleetLaunchTemplateConfigRequest
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