Struct aws_sdk_apigatewayv2::types::builders::RouteSettingsBuilder
source · #[non_exhaustive]pub struct RouteSettingsBuilder { /* private fields */ }Expand description
A builder for RouteSettings.
Implementations§
source§impl RouteSettingsBuilder
impl RouteSettingsBuilder
sourcepub fn data_trace_enabled(self, input: bool) -> Self
pub fn data_trace_enabled(self, input: bool) -> Self
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn set_data_trace_enabled(self, input: Option<bool>) -> Self
pub fn set_data_trace_enabled(self, input: Option<bool>) -> Self
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn get_data_trace_enabled(&self) -> &Option<bool>
pub fn get_data_trace_enabled(&self) -> &Option<bool>
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn detailed_metrics_enabled(self, input: bool) -> Self
pub fn detailed_metrics_enabled(self, input: bool) -> Self
Specifies whether detailed metrics are enabled.
sourcepub fn set_detailed_metrics_enabled(self, input: Option<bool>) -> Self
pub fn set_detailed_metrics_enabled(self, input: Option<bool>) -> Self
Specifies whether detailed metrics are enabled.
sourcepub fn get_detailed_metrics_enabled(&self) -> &Option<bool>
pub fn get_detailed_metrics_enabled(&self) -> &Option<bool>
Specifies whether detailed metrics are enabled.
sourcepub fn logging_level(self, input: LoggingLevel) -> Self
pub fn logging_level(self, input: LoggingLevel) -> Self
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn set_logging_level(self, input: Option<LoggingLevel>) -> Self
pub fn set_logging_level(self, input: Option<LoggingLevel>) -> Self
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn get_logging_level(&self) -> &Option<LoggingLevel>
pub fn get_logging_level(&self) -> &Option<LoggingLevel>
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
sourcepub fn throttling_burst_limit(self, input: i32) -> Self
pub fn throttling_burst_limit(self, input: i32) -> Self
Specifies the throttling burst limit.
sourcepub fn set_throttling_burst_limit(self, input: Option<i32>) -> Self
pub fn set_throttling_burst_limit(self, input: Option<i32>) -> Self
Specifies the throttling burst limit.
sourcepub fn get_throttling_burst_limit(&self) -> &Option<i32>
pub fn get_throttling_burst_limit(&self) -> &Option<i32>
Specifies the throttling burst limit.
sourcepub fn throttling_rate_limit(self, input: f64) -> Self
pub fn throttling_rate_limit(self, input: f64) -> Self
Specifies the throttling rate limit.
sourcepub fn set_throttling_rate_limit(self, input: Option<f64>) -> Self
pub fn set_throttling_rate_limit(self, input: Option<f64>) -> Self
Specifies the throttling rate limit.
sourcepub fn get_throttling_rate_limit(&self) -> &Option<f64>
pub fn get_throttling_rate_limit(&self) -> &Option<f64>
Specifies the throttling rate limit.
sourcepub fn build(self) -> RouteSettings
pub fn build(self) -> RouteSettings
Consumes the builder and constructs a RouteSettings.
Trait Implementations§
source§impl Clone for RouteSettingsBuilder
impl Clone for RouteSettingsBuilder
source§fn clone(&self) -> RouteSettingsBuilder
fn clone(&self) -> RouteSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RouteSettingsBuilder
impl Debug for RouteSettingsBuilder
source§impl Default for RouteSettingsBuilder
impl Default for RouteSettingsBuilder
source§fn default() -> RouteSettingsBuilder
fn default() -> RouteSettingsBuilder
source§impl PartialEq for RouteSettingsBuilder
impl PartialEq for RouteSettingsBuilder
source§fn eq(&self, other: &RouteSettingsBuilder) -> bool
fn eq(&self, other: &RouteSettingsBuilder) -> bool
self and other values to be equal, and is used
by ==.