Struct aws_sdk_applicationinsights::operation::create_application::builders::CreateApplicationFluentBuilder
source · pub struct CreateApplicationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateApplication
.
Adds an application that is created from a resource group.
Implementations§
source§impl CreateApplicationFluentBuilder
impl CreateApplicationFluentBuilder
sourcepub fn as_input(&self) -> &CreateApplicationInputBuilder
pub fn as_input(&self) -> &CreateApplicationInputBuilder
Access the CreateApplication as a reference.
sourcepub async fn send(
self
) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
pub async fn send( self ) -> Result<CreateApplicationOutput, SdkError<CreateApplicationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateApplicationOutput, CreateApplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateApplicationOutput, CreateApplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_resource_group_name(&self) -> &Option<String>
pub fn get_resource_group_name(&self) -> &Option<String>
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 get_ops_center_enabled(&self) -> &Option<bool>
pub fn get_ops_center_enabled(&self) -> &Option<bool>
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 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 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 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 opsItem. Allows you to receive notifications for updates to the opsItem.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
sourcepub fn auto_config_enabled(self, input: bool) -> Self
pub fn auto_config_enabled(self, input: bool) -> Self
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
sourcepub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
pub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
sourcepub fn get_auto_config_enabled(&self) -> &Option<bool>
pub fn get_auto_config_enabled(&self) -> &Option<bool>
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
sourcepub fn auto_create(self, input: bool) -> Self
pub fn auto_create(self, input: bool) -> Self
Configures all of the resources in the resource group by applying the recommended configurations.
sourcepub fn set_auto_create(self, input: Option<bool>) -> Self
pub fn set_auto_create(self, input: Option<bool>) -> Self
Configures all of the resources in the resource group by applying the recommended configurations.
sourcepub fn get_auto_create(&self) -> &Option<bool>
pub fn get_auto_create(&self) -> &Option<bool>
Configures all of the resources in the resource group by applying the recommended configurations.
sourcepub fn grouping_type(self, input: GroupingType) -> Self
pub fn grouping_type(self, input: GroupingType) -> Self
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.
sourcepub fn set_grouping_type(self, input: Option<GroupingType>) -> Self
pub fn set_grouping_type(self, input: Option<GroupingType>) -> Self
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.
sourcepub fn get_grouping_type(&self) -> &Option<GroupingType>
pub fn get_grouping_type(&self) -> &Option<GroupingType>
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED
.
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.
Trait Implementations§
source§impl Clone for CreateApplicationFluentBuilder
impl Clone for CreateApplicationFluentBuilder
source§fn clone(&self) -> CreateApplicationFluentBuilder
fn clone(&self) -> CreateApplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateApplicationFluentBuilder
impl !RefUnwindSafe for CreateApplicationFluentBuilder
impl Send for CreateApplicationFluentBuilder
impl Sync for CreateApplicationFluentBuilder
impl Unpin for CreateApplicationFluentBuilder
impl !UnwindSafe for CreateApplicationFluentBuilder
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