Struct aws_sdk_applicationinsights::model::application_info::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ApplicationInfo
.
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 used for the application.
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 used for the application.
sourcepub fn life_cycle(self, input: impl Into<String>) -> Self
pub fn life_cycle(self, input: impl Into<String>) -> Self
The lifecycle of the application.
sourcepub fn set_life_cycle(self, input: Option<String>) -> Self
pub fn set_life_cycle(self, input: Option<String>) -> Self
The lifecycle of the application.
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 opsItems to receive SNS notifications for opsItem updates.
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 opsItems to receive SNS notifications for opsItem updates.
sourcepub fn ops_center_enabled(self, input: bool) -> Self
pub fn ops_center_enabled(self, input: bool) -> Self
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for an application.
sourcepub fn set_ops_center_enabled(self, input: Option<bool>) -> Self
pub fn set_ops_center_enabled(self, input: Option<bool>) -> Self
Indicates whether Application Insights will create opsItems for any problem detected by Application Insights for 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 remarks(self, input: impl Into<String>) -> Self
pub fn remarks(self, input: impl Into<String>) -> Self
The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:
-
“Configuring application, detected 1 Errors, 3 Warnings”
-
“Configuring application, detected 1 Unconfigured Components”
sourcepub fn set_remarks(self, input: Option<String>) -> Self
pub fn set_remarks(self, input: Option<String>) -> Self
The issues on the user side that block Application Insights from successfully monitoring an application. Example remarks include:
-
“Configuring application, detected 1 Errors, 3 Warnings”
-
“Configuring application, detected 1 Unconfigured Components”
sourcepub fn auto_config_enabled(self, input: bool) -> Self
pub fn auto_config_enabled(self, input: bool) -> Self
Indicates whether auto-configuration is turned on for this application.
sourcepub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
pub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
Indicates whether auto-configuration is turned on for this application.
sourcepub fn discovery_type(self, input: DiscoveryType) -> Self
pub fn discovery_type(self, input: DiscoveryType) -> Self
The method used by Application Insights to onboard your resources.
sourcepub fn set_discovery_type(self, input: Option<DiscoveryType>) -> Self
pub fn set_discovery_type(self, input: Option<DiscoveryType>) -> Self
The method used by Application Insights to onboard your resources.
sourcepub fn build(self) -> ApplicationInfo
pub fn build(self) -> ApplicationInfo
Consumes the builder and constructs a ApplicationInfo
.