Struct aws_sdk_eks::model::launch_template_specification::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchTemplateSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version number of the launch template to use. If no version is specified, then the template's default version is used.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version number of the launch template to use. If no version is specified, then the template's default version is used.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.
sourcepub fn build(self) -> LaunchTemplateSpecification
pub fn build(self) -> LaunchTemplateSpecification
Consumes the builder and constructs a LaunchTemplateSpecification
.