Struct aws_sdk_ec2::model::launch_template_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchTemplateConfig
.
Implementations§
source§impl Builder
impl Builder
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 overrides(self, input: LaunchTemplateOverrides) -> Self
pub fn overrides(self, input: LaunchTemplateOverrides) -> 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<LaunchTemplateOverrides>>) -> Self
pub fn set_overrides(self, input: Option<Vec<LaunchTemplateOverrides>>) -> Self
Any parameters that you specify override the same parameters in the launch template.
sourcepub fn build(self) -> LaunchTemplateConfig
pub fn build(self) -> LaunchTemplateConfig
Consumes the builder and constructs a LaunchTemplateConfig
.