Struct aws_sdk_applicationinsights::operation::update_application::builders::UpdateApplicationFluentBuilder
source · pub struct UpdateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateApplication
.
Updates the application.
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 resource_group_name(self, input: impl Into<String>) -> Self
pub fn resource_group_name(self, input: impl Into<String>) -> Self
The name of the resource group.
sourcepub fn set_resource_group_name(self, input: Option<String>) -> Self
pub fn set_resource_group_name(self, input: Option<String>) -> Self
The name of the resource group.
sourcepub fn get_resource_group_name(&self) -> &Option<String>
pub fn get_resource_group_name(&self) -> &Option<String>
The name of the resource group.
sourcepub fn ops_center_enabled(self, input: bool) -> Self
pub fn ops_center_enabled(self, input: bool) -> Self
When set to true
, creates opsItems for any problems detected on an application.
sourcepub fn set_ops_center_enabled(self, input: Option<bool>) -> Self
pub fn set_ops_center_enabled(self, input: Option<bool>) -> Self
When set to true
, creates opsItems for any problems detected on an application.
sourcepub fn get_ops_center_enabled(&self) -> &Option<bool>
pub fn get_ops_center_enabled(&self) -> &Option<bool>
When set to true
, creates opsItems for any problems detected on an application.
sourcepub fn cwe_monitor_enabled(self, input: bool) -> Self
pub fn cwe_monitor_enabled(self, input: bool) -> Self
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
sourcepub fn set_cwe_monitor_enabled(self, input: Option<bool>) -> Self
pub fn set_cwe_monitor_enabled(self, input: Option<bool>) -> Self
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
sourcepub fn get_cwe_monitor_enabled(&self) -> &Option<bool>
pub fn get_cwe_monitor_enabled(&self) -> &Option<bool>
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
sourcepub fn ops_item_sns_topic_arn(self, input: impl Into<String>) -> Self
pub fn ops_item_sns_topic_arn(self, input: impl Into<String>) -> Self
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
sourcepub fn set_ops_item_sns_topic_arn(self, input: Option<String>) -> Self
pub fn set_ops_item_sns_topic_arn(self, input: Option<String>) -> Self
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
sourcepub fn get_ops_item_sns_topic_arn(&self) -> &Option<String>
pub fn get_ops_item_sns_topic_arn(&self) -> &Option<String>
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
sourcepub fn remove_sns_topic(self, input: bool) -> Self
pub fn remove_sns_topic(self, input: bool) -> Self
Disassociates the SNS topic from the opsItem created for detected problems.
sourcepub fn set_remove_sns_topic(self, input: Option<bool>) -> Self
pub fn set_remove_sns_topic(self, input: Option<bool>) -> Self
Disassociates the SNS topic from the opsItem created for detected problems.
sourcepub fn get_remove_sns_topic(&self) -> &Option<bool>
pub fn get_remove_sns_topic(&self) -> &Option<bool>
Disassociates the SNS topic from the opsItem created for detected problems.
sourcepub fn auto_config_enabled(self, input: bool) -> Self
pub fn auto_config_enabled(self, input: bool) -> Self
Turns auto-configuration on or off.
sourcepub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
pub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
Turns auto-configuration on or off.
sourcepub fn get_auto_config_enabled(&self) -> &Option<bool>
pub fn get_auto_config_enabled(&self) -> &Option<bool>
Turns auto-configuration on or off.
sourcepub fn attach_missing_permission(self, input: bool) -> Self
pub fn attach_missing_permission(self, input: bool) -> Self
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
sourcepub fn set_attach_missing_permission(self, input: Option<bool>) -> Self
pub fn set_attach_missing_permission(self, input: Option<bool>) -> Self
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
sourcepub fn get_attach_missing_permission(&self) -> &Option<bool>
pub fn get_attach_missing_permission(&self) -> &Option<bool>
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
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