Struct aws_sdk_applicationinsights::operation::update_component_configuration::builders::UpdateComponentConfigurationFluentBuilder
source · pub struct UpdateComponentConfigurationFluentBuilder { /* 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§
source§impl UpdateComponentConfigurationFluentBuilder
impl UpdateComponentConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateComponentConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateComponentConfigurationInputBuilder
Access the UpdateComponentConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError, 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<UpdateComponentConfigurationOutput, UpdateComponentConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateComponentConfigurationOutput, UpdateComponentConfigurationError, 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 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 get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
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 get_monitor(&self) -> &Option<bool>
pub fn get_monitor(&self) -> &Option<bool>
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 get_component_configuration(&self) -> &Option<String>
pub fn get_component_configuration(&self) -> &Option<String>
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.
sourcepub fn get_auto_config_enabled(&self) -> &Option<bool>
pub fn get_auto_config_enabled(&self) -> &Option<bool>
Automatically configures the component by applying the recommended configurations.
Trait Implementations§
source§impl Clone for UpdateComponentConfigurationFluentBuilder
impl Clone for UpdateComponentConfigurationFluentBuilder
source§fn clone(&self) -> UpdateComponentConfigurationFluentBuilder
fn clone(&self) -> UpdateComponentConfigurationFluentBuilder
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 UpdateComponentConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateComponentConfigurationFluentBuilder
impl Send for UpdateComponentConfigurationFluentBuilder
impl Sync for UpdateComponentConfigurationFluentBuilder
impl Unpin for UpdateComponentConfigurationFluentBuilder
impl !UnwindSafe for UpdateComponentConfigurationFluentBuilder
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