#[non_exhaustive]pub struct ApplicationInfoBuilder { /* private fields */ }
Expand description
A builder for ApplicationInfo
.
Implementations§
source§impl ApplicationInfoBuilder
impl ApplicationInfoBuilder
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 get_resource_group_name(&self) -> &Option<String>
pub fn get_resource_group_name(&self) -> &Option<String>
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 get_life_cycle(&self) -> &Option<String>
pub fn get_life_cycle(&self) -> &Option<String>
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 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 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 get_ops_center_enabled(&self) -> &Option<bool>
pub fn get_ops_center_enabled(&self) -> &Option<bool>
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 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 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 get_remarks(&self) -> &Option<String>
pub fn get_remarks(&self) -> &Option<String>
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 get_auto_config_enabled(&self) -> &Option<bool>
pub fn get_auto_config_enabled(&self) -> &Option<bool>
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 get_discovery_type(&self) -> &Option<DiscoveryType>
pub fn get_discovery_type(&self) -> &Option<DiscoveryType>
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
.
Trait Implementations§
source§impl Clone for ApplicationInfoBuilder
impl Clone for ApplicationInfoBuilder
source§fn clone(&self) -> ApplicationInfoBuilder
fn clone(&self) -> ApplicationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApplicationInfoBuilder
impl Debug for ApplicationInfoBuilder
source§impl Default for ApplicationInfoBuilder
impl Default for ApplicationInfoBuilder
source§fn default() -> ApplicationInfoBuilder
fn default() -> ApplicationInfoBuilder
source§impl PartialEq<ApplicationInfoBuilder> for ApplicationInfoBuilder
impl PartialEq<ApplicationInfoBuilder> for ApplicationInfoBuilder
source§fn eq(&self, other: &ApplicationInfoBuilder) -> bool
fn eq(&self, other: &ApplicationInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.