Struct aws_sdk_applicationinsights::operation::update_application::builders::UpdateApplicationInputBuilder
source · #[non_exhaustive]pub struct UpdateApplicationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateApplicationInput
.
Implementations§
source§impl UpdateApplicationInputBuilder
impl UpdateApplicationInputBuilder
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.
This field is required.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.
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 ==
.