Struct aws_sdk_applicationinsights::operation::update_component_configuration::builders::UpdateComponentConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateComponentConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateComponentConfigurationInput
.
Implementations§
source§impl UpdateComponentConfigurationInputBuilder
impl UpdateComponentConfigurationInputBuilder
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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateComponentConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateComponentConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateComponentConfigurationInput
.
source§impl UpdateComponentConfigurationInputBuilder
impl UpdateComponentConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateComponentConfigurationOutput, SdkError<UpdateComponentConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateComponentConfigurationInputBuilder
impl Clone for UpdateComponentConfigurationInputBuilder
source§fn clone(&self) -> UpdateComponentConfigurationInputBuilder
fn clone(&self) -> UpdateComponentConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateComponentConfigurationInputBuilder
impl Default for UpdateComponentConfigurationInputBuilder
source§fn default() -> UpdateComponentConfigurationInputBuilder
fn default() -> UpdateComponentConfigurationInputBuilder
source§impl PartialEq for UpdateComponentConfigurationInputBuilder
impl PartialEq for UpdateComponentConfigurationInputBuilder
source§fn eq(&self, other: &UpdateComponentConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateComponentConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.