#[non_exhaustive]pub struct UpdateAppMonitorInputBuilder { /* private fields */ }
Expand description
A builder for UpdateAppMonitorInput
.
Implementations§
source§impl UpdateAppMonitorInputBuilder
impl UpdateAppMonitorInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the app monitor to update.
This field is required.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 get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
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 get_app_monitor_configuration(&self) -> &Option<AppMonitorConfiguration>
pub fn get_app_monitor_configuration(&self) -> &Option<AppMonitorConfiguration>
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 get_cw_log_enabled(&self) -> &Option<bool>
pub fn get_cw_log_enabled(&self) -> &Option<bool>
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 get_custom_events(&self) -> &Option<CustomEvents>
pub fn get_custom_events(&self) -> &Option<CustomEvents>
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
.
source§impl UpdateAppMonitorInputBuilder
impl UpdateAppMonitorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateAppMonitorOutput, SdkError<UpdateAppMonitorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateAppMonitorOutput, SdkError<UpdateAppMonitorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateAppMonitorInputBuilder
impl Clone for UpdateAppMonitorInputBuilder
source§fn clone(&self) -> UpdateAppMonitorInputBuilder
fn clone(&self) -> UpdateAppMonitorInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAppMonitorInputBuilder
impl Debug for UpdateAppMonitorInputBuilder
source§impl Default for UpdateAppMonitorInputBuilder
impl Default for UpdateAppMonitorInputBuilder
source§fn default() -> UpdateAppMonitorInputBuilder
fn default() -> UpdateAppMonitorInputBuilder
source§impl PartialEq for UpdateAppMonitorInputBuilder
impl PartialEq for UpdateAppMonitorInputBuilder
source§fn eq(&self, other: &UpdateAppMonitorInputBuilder) -> bool
fn eq(&self, other: &UpdateAppMonitorInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.