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<UpdateApplicationVersionInputBuilder> for UpdateApplicationVersionInputBuilder
impl PartialEq<UpdateApplicationVersionInputBuilder> 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 ==
.