#[non_exhaustive]pub struct FleetLaunchTemplateSpecificationRequestBuilder { /* private fields */ }
Expand description
A builder for FleetLaunchTemplateSpecificationRequest
.
Implementations§
source§impl FleetLaunchTemplateSpecificationRequestBuilder
impl FleetLaunchTemplateSpecificationRequestBuilder
sourcepub fn launch_template_id(self, input: impl Into<String>) -> Self
pub fn launch_template_id(self, input: impl Into<String>) -> Self
The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
, but not both.
sourcepub fn set_launch_template_id(self, input: Option<String>) -> Self
pub fn set_launch_template_id(self, input: Option<String>) -> Self
The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
, but not both.
sourcepub fn get_launch_template_id(&self) -> &Option<String>
pub fn get_launch_template_id(&self) -> &Option<String>
The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
, but not both.
sourcepub fn launch_template_name(self, input: impl Into<String>) -> Self
pub fn launch_template_name(self, input: impl Into<String>) -> Self
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but not both.
sourcepub fn set_launch_template_name(self, input: Option<String>) -> Self
pub fn set_launch_template_name(self, input: Option<String>) -> Self
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but not both.
sourcepub fn get_launch_template_name(&self) -> &Option<String>
pub fn get_launch_template_name(&self) -> &Option<String>
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but not both.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The launch template version number, $Latest
, or $Default
. You must specify a value, otherwise the request fails.
If the value is $Latest
, Amazon EC2 uses the latest version of the launch template.
If the value is $Default
, Amazon EC2 uses the default version of the launch template.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The launch template version number, $Latest
, or $Default
. You must specify a value, otherwise the request fails.
If the value is $Latest
, Amazon EC2 uses the latest version of the launch template.
If the value is $Default
, Amazon EC2 uses the default version of the launch template.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The launch template version number, $Latest
, or $Default
. You must specify a value, otherwise the request fails.
If the value is $Latest
, Amazon EC2 uses the latest version of the launch template.
If the value is $Default
, Amazon EC2 uses the default version of the launch template.
sourcepub fn build(self) -> FleetLaunchTemplateSpecificationRequest
pub fn build(self) -> FleetLaunchTemplateSpecificationRequest
Consumes the builder and constructs a FleetLaunchTemplateSpecificationRequest
.
Trait Implementations§
source§impl Clone for FleetLaunchTemplateSpecificationRequestBuilder
impl Clone for FleetLaunchTemplateSpecificationRequestBuilder
source§fn clone(&self) -> FleetLaunchTemplateSpecificationRequestBuilder
fn clone(&self) -> FleetLaunchTemplateSpecificationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FleetLaunchTemplateSpecificationRequestBuilder
impl Default for FleetLaunchTemplateSpecificationRequestBuilder
source§fn default() -> FleetLaunchTemplateSpecificationRequestBuilder
fn default() -> FleetLaunchTemplateSpecificationRequestBuilder
source§impl PartialEq for FleetLaunchTemplateSpecificationRequestBuilder
impl PartialEq for FleetLaunchTemplateSpecificationRequestBuilder
source§fn eq(&self, other: &FleetLaunchTemplateSpecificationRequestBuilder) -> bool
fn eq(&self, other: &FleetLaunchTemplateSpecificationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FleetLaunchTemplateSpecificationRequestBuilder
Auto Trait Implementations§
impl Freeze for FleetLaunchTemplateSpecificationRequestBuilder
impl RefUnwindSafe for FleetLaunchTemplateSpecificationRequestBuilder
impl Send for FleetLaunchTemplateSpecificationRequestBuilder
impl Sync for FleetLaunchTemplateSpecificationRequestBuilder
impl Unpin for FleetLaunchTemplateSpecificationRequestBuilder
impl UnwindSafe for FleetLaunchTemplateSpecificationRequestBuilder
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