Struct aws_sdk_elasticbeanstalk::operation::update_application_version::builders::UpdateApplicationVersionInputBuilder
source · #[non_exhaustive]pub struct UpdateApplicationVersionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateApplicationVersionInput
.
Implementations§
source§impl UpdateApplicationVersionInputBuilder
impl UpdateApplicationVersionInputBuilder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of the application associated with this version.
If no application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of the application associated with this version.
If no application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
The name of the application associated with this version.
If no application is found with this name, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
The name of the version to update.
If no application version is found with this label, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
The name of the version to update.
If no application version is found with this label, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
The name of the version to update.
If no application version is found with this label, UpdateApplication
returns an InvalidParameterValue
error.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A new description for this version.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A new description for this version.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A new description for this version.
sourcepub fn build(self) -> Result<UpdateApplicationVersionInput, BuildError>
pub fn build(self) -> Result<UpdateApplicationVersionInput, BuildError>
Consumes the builder and constructs a UpdateApplicationVersionInput
.
source§impl UpdateApplicationVersionInputBuilder
impl UpdateApplicationVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateApplicationVersionOutput, SdkError<UpdateApplicationVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateApplicationVersionOutput, SdkError<UpdateApplicationVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateApplicationVersionInputBuilder
impl Clone for UpdateApplicationVersionInputBuilder
source§fn clone(&self) -> UpdateApplicationVersionInputBuilder
fn clone(&self) -> UpdateApplicationVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateApplicationVersionInputBuilder
impl Default for UpdateApplicationVersionInputBuilder
source§fn default() -> UpdateApplicationVersionInputBuilder
fn default() -> UpdateApplicationVersionInputBuilder
source§impl PartialEq for UpdateApplicationVersionInputBuilder
impl PartialEq for UpdateApplicationVersionInputBuilder
source§fn eq(&self, other: &UpdateApplicationVersionInputBuilder) -> bool
fn eq(&self, other: &UpdateApplicationVersionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateApplicationVersionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateApplicationVersionInputBuilder
impl RefUnwindSafe for UpdateApplicationVersionInputBuilder
impl Send for UpdateApplicationVersionInputBuilder
impl Sync for UpdateApplicationVersionInputBuilder
impl Unpin for UpdateApplicationVersionInputBuilder
impl UnwindSafe for UpdateApplicationVersionInputBuilder
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