#[non_exhaustive]pub struct UpdateApplicationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateApplicationInput
.
Implementations§
source§impl UpdateApplicationInputBuilder
impl UpdateApplicationInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateApplicationInput, BuildError>
pub fn build(self) -> Result<UpdateApplicationInput, BuildError>
Consumes the builder and constructs a UpdateApplicationInput
.
source§impl UpdateApplicationInputBuilder
impl UpdateApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateApplicationOutput, SdkError<UpdateApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateApplicationInputBuilder
impl Clone for UpdateApplicationInputBuilder
source§fn clone(&self) -> UpdateApplicationInputBuilder
fn clone(&self) -> UpdateApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateApplicationInputBuilder
impl Default for UpdateApplicationInputBuilder
source§fn default() -> UpdateApplicationInputBuilder
fn default() -> UpdateApplicationInputBuilder
source§impl PartialEq for UpdateApplicationInputBuilder
impl PartialEq for UpdateApplicationInputBuilder
source§fn eq(&self, other: &UpdateApplicationInputBuilder) -> bool
fn eq(&self, other: &UpdateApplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.