#[non_exhaustive]pub struct AwsWafv2VisibilityConfigDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsWafv2VisibilityConfigDetails
.
Implementations§
source§impl AwsWafv2VisibilityConfigDetailsBuilder
impl AwsWafv2VisibilityConfigDetailsBuilder
sourcepub fn cloud_watch_metrics_enabled(self, input: bool) -> Self
pub fn cloud_watch_metrics_enabled(self, input: bool) -> Self
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 set_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
pub fn set_cloud_watch_metrics_enabled(self, input: Option<bool>) -> Self
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 get_cloud_watch_metrics_enabled(&self) -> &Option<bool>
pub fn get_cloud_watch_metrics_enabled(&self) -> &Option<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, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
A name of the Amazon CloudWatch metric.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
A name of the Amazon CloudWatch metric.
sourcepub fn get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
A name of the Amazon CloudWatch metric.
sourcepub fn sampled_requests_enabled(self, input: bool) -> Self
pub fn sampled_requests_enabled(self, input: bool) -> Self
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.
sourcepub fn set_sampled_requests_enabled(self, input: Option<bool>) -> Self
pub fn set_sampled_requests_enabled(self, input: Option<bool>) -> Self
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.
sourcepub fn get_sampled_requests_enabled(&self) -> &Option<bool>
pub fn get_sampled_requests_enabled(&self) -> &Option<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.
sourcepub fn build(self) -> AwsWafv2VisibilityConfigDetails
pub fn build(self) -> AwsWafv2VisibilityConfigDetails
Consumes the builder and constructs a AwsWafv2VisibilityConfigDetails
.
Trait Implementations§
source§impl Clone for AwsWafv2VisibilityConfigDetailsBuilder
impl Clone for AwsWafv2VisibilityConfigDetailsBuilder
source§fn clone(&self) -> AwsWafv2VisibilityConfigDetailsBuilder
fn clone(&self) -> AwsWafv2VisibilityConfigDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsWafv2VisibilityConfigDetailsBuilder
impl Default for AwsWafv2VisibilityConfigDetailsBuilder
source§fn default() -> AwsWafv2VisibilityConfigDetailsBuilder
fn default() -> AwsWafv2VisibilityConfigDetailsBuilder
source§impl PartialEq for AwsWafv2VisibilityConfigDetailsBuilder
impl PartialEq for AwsWafv2VisibilityConfigDetailsBuilder
source§fn eq(&self, other: &AwsWafv2VisibilityConfigDetailsBuilder) -> bool
fn eq(&self, other: &AwsWafv2VisibilityConfigDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.