Struct aws_sdk_applicationinsights::client::fluent_builders::UpdateComponentConfiguration
source · [−]pub struct UpdateComponentConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateComponentConfiguration
.
Updates the monitoring configurations for the component. The configuration input parameter is an escaped JSON of the configuration and should match the schema of what is returned by DescribeComponentConfigurationRecommendation
.
Implementations
sourceimpl UpdateComponentConfiguration
impl UpdateComponentConfiguration
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateComponentConfiguration, AwsResponseRetryClassifier>, SdkError<UpdateComponentConfigurationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateComponentConfiguration, AwsResponseRetryClassifier>, SdkError<UpdateComponentConfigurationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError>>
pub async fn send(
self
) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError>>
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 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 component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component.
sourcepub fn monitor(self, input: bool) -> Self
pub fn monitor(self, input: bool) -> Self
Indicates whether the application component is monitored.
sourcepub fn set_monitor(self, input: Option<bool>) -> Self
pub fn set_monitor(self, input: Option<bool>) -> Self
Indicates whether the application component is monitored.
sourcepub fn component_configuration(self, input: impl Into<String>) -> Self
pub fn component_configuration(self, input: impl Into<String>) -> Self
The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation
to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.
sourcepub fn set_component_configuration(self, input: Option<String>) -> Self
pub fn set_component_configuration(self, input: Option<String>) -> Self
The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to DescribeComponentConfigurationRecommendation
to see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.
sourcepub fn auto_config_enabled(self, input: bool) -> Self
pub fn auto_config_enabled(self, input: bool) -> Self
Automatically configures the component by applying the recommended configurations.
sourcepub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
pub fn set_auto_config_enabled(self, input: Option<bool>) -> Self
Automatically configures the component by applying the recommended configurations.
Trait Implementations
sourceimpl Clone for UpdateComponentConfiguration
impl Clone for UpdateComponentConfiguration
sourcefn clone(&self) -> UpdateComponentConfiguration
fn clone(&self) -> UpdateComponentConfiguration
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more