Struct aws_sdk_ec2::output::create_launch_template_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateLaunchTemplateOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn launch_template(self, input: LaunchTemplate) -> Self
pub fn launch_template(self, input: LaunchTemplate) -> Self
Information about the launch template.
sourcepub fn set_launch_template(self, input: Option<LaunchTemplate>) -> Self
pub fn set_launch_template(self, input: Option<LaunchTemplate>) -> Self
Information about the launch template.
sourcepub fn warning(self, input: ValidationWarning) -> Self
pub fn warning(self, input: ValidationWarning) -> Self
If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.
sourcepub fn set_warning(self, input: Option<ValidationWarning>) -> Self
pub fn set_warning(self, input: Option<ValidationWarning>) -> Self
If the launch template contains parameters or parameter combinations that are not valid, an error code and an error message are returned for each issue that's found.
sourcepub fn build(self) -> CreateLaunchTemplateOutput
pub fn build(self) -> CreateLaunchTemplateOutput
Consumes the builder and constructs a CreateLaunchTemplateOutput
.