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 ==.impl StructuralPartialEq for UpdateEnvironmentTemplateVersionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateEnvironmentTemplateVersionInputBuilder
impl RefUnwindSafe for UpdateEnvironmentTemplateVersionInputBuilder
impl Send for UpdateEnvironmentTemplateVersionInputBuilder
impl Sync for UpdateEnvironmentTemplateVersionInputBuilder
impl Unpin for UpdateEnvironmentTemplateVersionInputBuilder
impl UnwindSafe for UpdateEnvironmentTemplateVersionInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more