#[non_exhaustive]pub struct AwsWafv2VisibilityConfigDetails { /* private fields */ }
Expand description
Defines and enables Amazon CloudWatch metrics and web request sample collection.
Implementations§
source§impl AwsWafv2VisibilityConfigDetails
impl AwsWafv2VisibilityConfigDetails
sourcepub fn cloud_watch_metrics_enabled(&self) -> bool
pub fn cloud_watch_metrics_enabled(&self) -> bool
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.
sourcepub fn metric_name(&self) -> Option<&str>
pub fn metric_name(&self) -> Option<&str>
A name of the Amazon CloudWatch metric.
sourcepub fn sampled_requests_enabled(&self) -> bool
pub fn sampled_requests_enabled(&self) -> bool
A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the WAF console.
source§impl AwsWafv2VisibilityConfigDetails
impl AwsWafv2VisibilityConfigDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsWafv2VisibilityConfigDetails
.
Trait Implementations§
source§impl Clone for AwsWafv2VisibilityConfigDetails
impl Clone for AwsWafv2VisibilityConfigDetails
source§fn clone(&self) -> AwsWafv2VisibilityConfigDetails
fn clone(&self) -> AwsWafv2VisibilityConfigDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AwsWafv2VisibilityConfigDetails> for AwsWafv2VisibilityConfigDetails
impl PartialEq<AwsWafv2VisibilityConfigDetails> for AwsWafv2VisibilityConfigDetails
source§fn eq(&self, other: &AwsWafv2VisibilityConfigDetails) -> bool
fn eq(&self, other: &AwsWafv2VisibilityConfigDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.