pub struct Builder { /* private fields */ }
Expand description

A builder for UpdateApplicationInput.

Implementations§

The name of the application. This name is visible to users when display name is not specified.

Examples found in repository?
src/client.rs (line 7440)
7439
7440
7441
7442
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The name of the application. This name is visible to users when display name is not specified.

Examples found in repository?
src/client.rs (line 7445)
7444
7445
7446
7447
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

The display name of the application. This name is visible to users in the application catalog.

Examples found in repository?
src/client.rs (line 7450)
7449
7450
7451
7452
        pub fn display_name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.display_name(input.into());
            self
        }

The display name of the application. This name is visible to users in the application catalog.

Examples found in repository?
src/client.rs (line 7455)
7454
7455
7456
7457
        pub fn set_display_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_display_name(input);
            self
        }

The description of the application.

Examples found in repository?
src/client.rs (line 7460)
7459
7460
7461
7462
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.description(input.into());
            self
        }

The description of the application.

Examples found in repository?
src/client.rs (line 7465)
7464
7465
7466
7467
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_description(input);
            self
        }

The icon S3 location of the application.

Examples found in repository?
src/client.rs (line 7470)
7469
7470
7471
7472
        pub fn icon_s3_location(mut self, input: crate::model::S3Location) -> Self {
            self.inner = self.inner.icon_s3_location(input);
            self
        }

The icon S3 location of the application.

Examples found in repository?
src/client.rs (line 7478)
7474
7475
7476
7477
7478
7479
7480
        pub fn set_icon_s3_location(
            mut self,
            input: std::option::Option<crate::model::S3Location>,
        ) -> Self {
            self.inner = self.inner.set_icon_s3_location(input);
            self
        }

The launch path of the application.

Examples found in repository?
src/client.rs (line 7483)
7482
7483
7484
7485
        pub fn launch_path(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.launch_path(input.into());
            self
        }

The launch path of the application.

Examples found in repository?
src/client.rs (line 7488)
7487
7488
7489
7490
        pub fn set_launch_path(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_launch_path(input);
            self
        }

The working directory of the application.

Examples found in repository?
src/client.rs (line 7493)
7492
7493
7494
7495
        pub fn working_directory(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.working_directory(input.into());
            self
        }

The working directory of the application.

Examples found in repository?
src/client.rs (line 7501)
7497
7498
7499
7500
7501
7502
7503
        pub fn set_working_directory(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_working_directory(input);
            self
        }

The launch parameters of the application.

Examples found in repository?
src/client.rs (line 7506)
7505
7506
7507
7508
        pub fn launch_parameters(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.launch_parameters(input.into());
            self
        }

The launch parameters of the application.

Examples found in repository?
src/client.rs (line 7514)
7510
7511
7512
7513
7514
7515
7516
        pub fn set_launch_parameters(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_launch_parameters(input);
            self
        }

The ARN of the app block.

Examples found in repository?
src/client.rs (line 7519)
7518
7519
7520
7521
        pub fn app_block_arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.app_block_arn(input.into());
            self
        }

The ARN of the app block.

Examples found in repository?
src/client.rs (line 7527)
7523
7524
7525
7526
7527
7528
7529
        pub fn set_app_block_arn(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_app_block_arn(input);
            self
        }

Appends an item to attributes_to_delete.

To override the contents of this collection use set_attributes_to_delete.

The attributes to delete for an application.

Examples found in repository?
src/client.rs (line 7536)
7535
7536
7537
7538
        pub fn attributes_to_delete(mut self, input: crate::model::ApplicationAttribute) -> Self {
            self.inner = self.inner.attributes_to_delete(input);
            self
        }

The attributes to delete for an application.

Examples found in repository?
src/client.rs (line 7544)
7540
7541
7542
7543
7544
7545
7546
        pub fn set_attributes_to_delete(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::ApplicationAttribute>>,
        ) -> Self {
            self.inner = self.inner.set_attributes_to_delete(input);
            self
        }

Consumes the builder and constructs a UpdateApplicationInput.

Examples found in repository?
src/client.rs (line 7407)
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateApplication,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// 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](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateApplicationOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateApplicationError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more