Struct aws_sdk_proton::operation::get_environment_template_version::builders::GetEnvironmentTemplateVersionInputBuilder
source · #[non_exhaustive]pub struct GetEnvironmentTemplateVersionInputBuilder { /* private fields */ }Expand description
A builder for GetEnvironmentTemplateVersionInput.
Implementations§
source§impl GetEnvironmentTemplateVersionInputBuilder
impl GetEnvironmentTemplateVersionInputBuilder
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 a version of which you want to get detailed data for.
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 a version of which you want to get detailed data for.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the environment template a version of which you want to get detailed data for.
sourcepub fn major_version(self, input: impl Into<String>) -> Self
pub fn major_version(self, input: impl Into<String>) -> Self
To get environment template major version detail data, include major Version.
sourcepub fn set_major_version(self, input: Option<String>) -> Self
pub fn set_major_version(self, input: Option<String>) -> Self
To get environment template major version detail data, include major Version.
sourcepub fn get_major_version(&self) -> &Option<String>
pub fn get_major_version(&self) -> &Option<String>
To get environment template major version detail data, include major Version.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
To get environment template minor version detail data, include minorVersion.
sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
To get environment template minor version detail data, include minorVersion.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
To get environment template minor version detail data, include minorVersion.
sourcepub fn build(self) -> Result<GetEnvironmentTemplateVersionInput, BuildError>
pub fn build(self) -> Result<GetEnvironmentTemplateVersionInput, BuildError>
Consumes the builder and constructs a GetEnvironmentTemplateVersionInput.
source§impl GetEnvironmentTemplateVersionInputBuilder
impl GetEnvironmentTemplateVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetEnvironmentTemplateVersionOutput, SdkError<GetEnvironmentTemplateVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetEnvironmentTemplateVersionOutput, SdkError<GetEnvironmentTemplateVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetEnvironmentTemplateVersionInputBuilder
impl Clone for GetEnvironmentTemplateVersionInputBuilder
source§fn clone(&self) -> GetEnvironmentTemplateVersionInputBuilder
fn clone(&self) -> GetEnvironmentTemplateVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetEnvironmentTemplateVersionInputBuilder
impl Default for GetEnvironmentTemplateVersionInputBuilder
source§fn default() -> GetEnvironmentTemplateVersionInputBuilder
fn default() -> GetEnvironmentTemplateVersionInputBuilder
source§impl PartialEq for GetEnvironmentTemplateVersionInputBuilder
impl PartialEq for GetEnvironmentTemplateVersionInputBuilder
source§fn eq(&self, other: &GetEnvironmentTemplateVersionInputBuilder) -> bool
fn eq(&self, other: &GetEnvironmentTemplateVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEnvironmentTemplateVersionInputBuilder
Auto Trait Implementations§
impl Freeze for GetEnvironmentTemplateVersionInputBuilder
impl RefUnwindSafe for GetEnvironmentTemplateVersionInputBuilder
impl Send for GetEnvironmentTemplateVersionInputBuilder
impl Sync for GetEnvironmentTemplateVersionInputBuilder
impl Unpin for GetEnvironmentTemplateVersionInputBuilder
impl UnwindSafe for GetEnvironmentTemplateVersionInputBuilder
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