Struct aws_sdk_proton::operation::update_environment_template_version::builders::UpdateEnvironmentTemplateVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateEnvironmentTemplateVersionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEnvironmentTemplateVersionInput
.
Implementations§
source§impl UpdateEnvironmentTemplateVersionInputBuilder
impl UpdateEnvironmentTemplateVersionInputBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the environment template.
This field is required.sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the environment template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the environment template.
sourcepub fn major_version(self, input: impl Into<String>) -> Self
pub fn major_version(self, input: impl Into<String>) -> Self
To update a major version of an environment template, include major Version
.
sourcepub fn set_major_version(self, input: Option<String>) -> Self
pub fn set_major_version(self, input: Option<String>) -> Self
To update a major version of an environment template, include major Version
.
sourcepub fn get_major_version(&self) -> &Option<String>
pub fn get_major_version(&self) -> &Option<String>
To update a major version of an environment template, include major Version
.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
To update a minor version of an environment template, include minorVersion
.
sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
To update a minor version of an environment template, include minorVersion
.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
To update a minor version of an environment template, include minorVersion
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of environment template version to update.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of environment template version to update.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of environment template version to update.
sourcepub fn status(self, input: TemplateVersionStatus) -> Self
pub fn status(self, input: TemplateVersionStatus) -> Self
The status of the environment template minor version to update.
sourcepub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
pub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
The status of the environment template minor version to update.
sourcepub fn get_status(&self) -> &Option<TemplateVersionStatus>
pub fn get_status(&self) -> &Option<TemplateVersionStatus>
The status of the environment template minor version to update.
sourcepub fn build(self) -> Result<UpdateEnvironmentTemplateVersionInput, BuildError>
pub fn build(self) -> Result<UpdateEnvironmentTemplateVersionInput, BuildError>
Consumes the builder and constructs a UpdateEnvironmentTemplateVersionInput
.
source§impl UpdateEnvironmentTemplateVersionInputBuilder
impl UpdateEnvironmentTemplateVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEnvironmentTemplateVersionOutput, SdkError<UpdateEnvironmentTemplateVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEnvironmentTemplateVersionOutput, SdkError<UpdateEnvironmentTemplateVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEnvironmentTemplateVersionInputBuilder
impl Clone for UpdateEnvironmentTemplateVersionInputBuilder
source§fn clone(&self) -> UpdateEnvironmentTemplateVersionInputBuilder
fn clone(&self) -> UpdateEnvironmentTemplateVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateEnvironmentTemplateVersionInputBuilder
impl Default for UpdateEnvironmentTemplateVersionInputBuilder
source§fn default() -> UpdateEnvironmentTemplateVersionInputBuilder
fn default() -> UpdateEnvironmentTemplateVersionInputBuilder
source§impl PartialEq for UpdateEnvironmentTemplateVersionInputBuilder
impl PartialEq for UpdateEnvironmentTemplateVersionInputBuilder
source§fn eq(&self, other: &UpdateEnvironmentTemplateVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateEnvironmentTemplateVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.