Struct aws_sdk_proton::operation::delete_environment_template_version::builders::DeleteEnvironmentTemplateVersionInputBuilder
source · #[non_exhaustive]pub struct DeleteEnvironmentTemplateVersionInputBuilder { /* private fields */ }Expand description
A builder for DeleteEnvironmentTemplateVersionInput.
Implementations§
source§impl DeleteEnvironmentTemplateVersionInputBuilder
impl DeleteEnvironmentTemplateVersionInputBuilder
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
The environment template major version to delete.
This field is required.sourcepub fn set_major_version(self, input: Option<String>) -> Self
pub fn set_major_version(self, input: Option<String>) -> Self
The environment template major version to delete.
sourcepub fn get_major_version(&self) -> &Option<String>
pub fn get_major_version(&self) -> &Option<String>
The environment template major version to delete.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
The environment template minor version to delete.
This field is required.sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
The environment template minor version to delete.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
The environment template minor version to delete.
sourcepub fn build(self) -> Result<DeleteEnvironmentTemplateVersionInput, BuildError>
pub fn build(self) -> Result<DeleteEnvironmentTemplateVersionInput, BuildError>
Consumes the builder and constructs a DeleteEnvironmentTemplateVersionInput.
source§impl DeleteEnvironmentTemplateVersionInputBuilder
impl DeleteEnvironmentTemplateVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteEnvironmentTemplateVersionOutput, SdkError<DeleteEnvironmentTemplateVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteEnvironmentTemplateVersionOutput, SdkError<DeleteEnvironmentTemplateVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteEnvironmentTemplateVersionInputBuilder
impl Clone for DeleteEnvironmentTemplateVersionInputBuilder
source§fn clone(&self) -> DeleteEnvironmentTemplateVersionInputBuilder
fn clone(&self) -> DeleteEnvironmentTemplateVersionInputBuilder
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 DeleteEnvironmentTemplateVersionInputBuilder
impl Default for DeleteEnvironmentTemplateVersionInputBuilder
source§fn default() -> DeleteEnvironmentTemplateVersionInputBuilder
fn default() -> DeleteEnvironmentTemplateVersionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteEnvironmentTemplateVersionInputBuilder
impl PartialEq for DeleteEnvironmentTemplateVersionInputBuilder
source§fn eq(&self, other: &DeleteEnvironmentTemplateVersionInputBuilder) -> bool
fn eq(&self, other: &DeleteEnvironmentTemplateVersionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteEnvironmentTemplateVersionInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteEnvironmentTemplateVersionInputBuilder
impl RefUnwindSafe for DeleteEnvironmentTemplateVersionInputBuilder
impl Send for DeleteEnvironmentTemplateVersionInputBuilder
impl Sync for DeleteEnvironmentTemplateVersionInputBuilder
impl Unpin for DeleteEnvironmentTemplateVersionInputBuilder
impl UnwindSafe for DeleteEnvironmentTemplateVersionInputBuilder
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
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>
Creates a shared type from an unshared type.