pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateApplicationInput
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 build(self) -> Result<UpdateApplicationInput, BuildError>
pub fn build(self) -> Result<UpdateApplicationInput, BuildError>
Consumes the builder and constructs a UpdateApplicationInput
.