pub struct UpdateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateApplication
.
Updates an application and creates a new version.
Implementations§
source§impl UpdateApplicationFluentBuilder
impl UpdateApplicationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateApplicationInputBuilder
pub fn as_input(&self) -> &UpdateApplicationInputBuilder
Access the UpdateApplication as a reference.
sourcepub async fn send(
self
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateApplicationOutput, UpdateApplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateApplicationOutput, UpdateApplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The unique identifier of the application you want to update.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The unique identifier of the application you want to update.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The unique identifier of the application you want to update.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the application to update.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the application to update.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the application to update.
sourcepub fn current_application_version(self, input: i32) -> Self
pub fn current_application_version(self, input: i32) -> Self
The current version of the application to update.
sourcepub fn set_current_application_version(self, input: Option<i32>) -> Self
pub fn set_current_application_version(self, input: Option<i32>) -> Self
The current version of the application to update.
sourcepub fn get_current_application_version(&self) -> &Option<i32>
pub fn get_current_application_version(&self) -> &Option<i32>
The current version of the application to update.
sourcepub fn definition(self, input: Definition) -> Self
pub fn definition(self, input: Definition) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
sourcepub fn set_definition(self, input: Option<Definition>) -> Self
pub fn set_definition(self, input: Option<Definition>) -> Self
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
sourcepub fn get_definition(&self) -> &Option<Definition>
pub fn get_definition(&self) -> &Option<Definition>
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
Trait Implementations§
source§impl Clone for UpdateApplicationFluentBuilder
impl Clone for UpdateApplicationFluentBuilder
source§fn clone(&self) -> UpdateApplicationFluentBuilder
fn clone(&self) -> UpdateApplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateApplicationFluentBuilder
impl !RefUnwindSafe for UpdateApplicationFluentBuilder
impl Send for UpdateApplicationFluentBuilder
impl Sync for UpdateApplicationFluentBuilder
impl Unpin for UpdateApplicationFluentBuilder
impl !UnwindSafe for UpdateApplicationFluentBuilder
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