Struct aws_sdk_rum::input::update_app_monitor_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateAppMonitorInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The top-level internet domain name for which your application has administrative authority.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The top-level internet domain name for which your application has administrative authority.
sourcepub fn app_monitor_configuration(self, input: AppMonitorConfiguration) -> Self
pub fn app_monitor_configuration(self, input: AppMonitorConfiguration) -> Self
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
sourcepub fn set_app_monitor_configuration(
self,
input: Option<AppMonitorConfiguration>
) -> Self
pub fn set_app_monitor_configuration(
self,
input: Option<AppMonitorConfiguration>
) -> Self
A structure that contains much of the configuration data for the app monitor. If you are using Amazon Cognito for authorization, you must include this structure in your request, and it must include the ID of the Amazon Cognito identity pool to use for authorization. If you don't include AppMonitorConfiguration
, you must set up your own authorization method. For more information, see Authorize your application to send data to Amazon Web Services.
sourcepub fn cw_log_enabled(self, input: bool) -> Self
pub fn cw_log_enabled(self, input: bool) -> Self
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
sourcepub fn set_cw_log_enabled(self, input: Option<bool>) -> Self
pub fn set_cw_log_enabled(self, input: Option<bool>) -> Self
Data collected by RUM is kept by RUM for 30 days and then deleted. This parameter specifies whether RUM sends a copy of this telemetry data to Amazon CloudWatch Logs in your account. This enables you to keep the telemetry data for more than 30 days, but it does incur Amazon CloudWatch Logs charges.
sourcepub fn custom_events(self, input: CustomEvents) -> Self
pub fn custom_events(self, input: CustomEvents) -> Self
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED
.
For more information about custom events, see Send custom events.
sourcepub fn set_custom_events(self, input: Option<CustomEvents>) -> Self
pub fn set_custom_events(self, input: Option<CustomEvents>) -> Self
Specifies whether this app monitor allows the web client to define and send custom events. The default is for custom events to be DISABLED
.
For more information about custom events, see Send custom events.
sourcepub fn build(self) -> Result<UpdateAppMonitorInput, BuildError>
pub fn build(self) -> Result<UpdateAppMonitorInput, BuildError>
Consumes the builder and constructs a UpdateAppMonitorInput
.