#[non_exhaustive]pub struct ApplicationInfoBuilder { /* private fields */ }
Expand description
A builder for ApplicationInfo
.
Implementations§
source§impl ApplicationInfoBuilder
impl ApplicationInfoBuilder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The AWS account ID for the owner of the application.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The AWS account ID for the owner of the application.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The AWS account ID for the owner of the application.
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 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) -> 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 for ApplicationInfoBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ApplicationInfoBuilder
Auto Trait Implementations§
impl Freeze for ApplicationInfoBuilder
impl RefUnwindSafe for ApplicationInfoBuilder
impl Send for ApplicationInfoBuilder
impl Sync for ApplicationInfoBuilder
impl Unpin for ApplicationInfoBuilder
impl UnwindSafe for ApplicationInfoBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more