#[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<FleetLaunchTemplateSpecificationRequestBuilder> for FleetLaunchTemplateSpecificationRequestBuilder
impl PartialEq<FleetLaunchTemplateSpecificationRequestBuilder> 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 ==
.