Struct aws_sdk_ec2::operation::create_launch_template::builders::CreateLaunchTemplateOutputBuilder
source · #[non_exhaustive]pub struct CreateLaunchTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for CreateLaunchTemplateOutput
.
Implementations§
source§impl CreateLaunchTemplateOutputBuilder
impl CreateLaunchTemplateOutputBuilder
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 get_launch_template(&self) -> &Option<LaunchTemplate>
pub fn get_launch_template(&self) -> &Option<LaunchTemplate>
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 get_warning(&self) -> &Option<ValidationWarning>
pub fn get_warning(&self) -> &Option<ValidationWarning>
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
.
Trait Implementations§
source§impl Clone for CreateLaunchTemplateOutputBuilder
impl Clone for CreateLaunchTemplateOutputBuilder
source§fn clone(&self) -> CreateLaunchTemplateOutputBuilder
fn clone(&self) -> CreateLaunchTemplateOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateLaunchTemplateOutputBuilder
impl Default for CreateLaunchTemplateOutputBuilder
source§fn default() -> CreateLaunchTemplateOutputBuilder
fn default() -> CreateLaunchTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateLaunchTemplateOutputBuilder> for CreateLaunchTemplateOutputBuilder
impl PartialEq<CreateLaunchTemplateOutputBuilder> for CreateLaunchTemplateOutputBuilder
source§fn eq(&self, other: &CreateLaunchTemplateOutputBuilder) -> bool
fn eq(&self, other: &CreateLaunchTemplateOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateLaunchTemplateOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateLaunchTemplateOutputBuilder
impl Send for CreateLaunchTemplateOutputBuilder
impl Sync for CreateLaunchTemplateOutputBuilder
impl Unpin for CreateLaunchTemplateOutputBuilder
impl UnwindSafe for CreateLaunchTemplateOutputBuilder
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
Mutably borrows from an owned value. Read more