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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more