Struct aws_sdk_connect::types::builders::MetricFilterV2Builder
source · #[non_exhaustive]pub struct MetricFilterV2Builder { /* private fields */ }
Expand description
A builder for MetricFilterV2
.
Implementations§
source§impl MetricFilterV2Builder
impl MetricFilterV2Builder
sourcepub fn metric_filter_key(self, input: impl Into<String>) -> Self
pub fn metric_filter_key(self, input: impl Into<String>) -> Self
The key to use for filtering data.
Valid metric filter keys: INITIATION_METHOD
, DISCONNECT_REASON
. These are the same values as the InitiationMethod
and DisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
sourcepub fn set_metric_filter_key(self, input: Option<String>) -> Self
pub fn set_metric_filter_key(self, input: Option<String>) -> Self
The key to use for filtering data.
Valid metric filter keys: INITIATION_METHOD
, DISCONNECT_REASON
. These are the same values as the InitiationMethod
and DisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
sourcepub fn get_metric_filter_key(&self) -> &Option<String>
pub fn get_metric_filter_key(&self) -> &Option<String>
The key to use for filtering data.
Valid metric filter keys: INITIATION_METHOD
, DISCONNECT_REASON
. These are the same values as the InitiationMethod
and DisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
sourcepub fn metric_filter_values(self, input: impl Into<String>) -> Self
pub fn metric_filter_values(self, input: impl Into<String>) -> Self
Appends an item to metric_filter_values
.
To override the contents of this collection use set_metric_filter_values
.
The values to use for filtering data.
Valid metric filter values for INITIATION_METHOD
: INBOUND
| OUTBOUND
| TRANSFER
| QUEUE_TRANSFER
| CALLBACK
| API
Valid metric filter values for DISCONNECT_REASON
: CUSTOMER_DISCONNECT
| AGENT_DISCONNECT
| THIRD_PARTY_DISCONNECT
| TELECOM_PROBLEM
| BARGED
| CONTACT_FLOW_DISCONNECT
| OTHER
| EXPIRED
| API
sourcepub fn set_metric_filter_values(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_filter_values(self, input: Option<Vec<String>>) -> Self
The values to use for filtering data.
Valid metric filter values for INITIATION_METHOD
: INBOUND
| OUTBOUND
| TRANSFER
| QUEUE_TRANSFER
| CALLBACK
| API
Valid metric filter values for DISCONNECT_REASON
: CUSTOMER_DISCONNECT
| AGENT_DISCONNECT
| THIRD_PARTY_DISCONNECT
| TELECOM_PROBLEM
| BARGED
| CONTACT_FLOW_DISCONNECT
| OTHER
| EXPIRED
| API
sourcepub fn get_metric_filter_values(&self) -> &Option<Vec<String>>
pub fn get_metric_filter_values(&self) -> &Option<Vec<String>>
The values to use for filtering data.
Valid metric filter values for INITIATION_METHOD
: INBOUND
| OUTBOUND
| TRANSFER
| QUEUE_TRANSFER
| CALLBACK
| API
Valid metric filter values for DISCONNECT_REASON
: CUSTOMER_DISCONNECT
| AGENT_DISCONNECT
| THIRD_PARTY_DISCONNECT
| TELECOM_PROBLEM
| BARGED
| CONTACT_FLOW_DISCONNECT
| OTHER
| EXPIRED
| API
sourcepub fn negate(self, input: bool) -> Self
pub fn negate(self, input: bool) -> Self
The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false
, which indicates to filter on the requested metric filter.
sourcepub fn set_negate(self, input: Option<bool>) -> Self
pub fn set_negate(self, input: Option<bool>) -> Self
The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false
, which indicates to filter on the requested metric filter.
sourcepub fn get_negate(&self) -> &Option<bool>
pub fn get_negate(&self) -> &Option<bool>
The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false
, which indicates to filter on the requested metric filter.
sourcepub fn build(self) -> MetricFilterV2
pub fn build(self) -> MetricFilterV2
Consumes the builder and constructs a MetricFilterV2
.
Trait Implementations§
source§impl Clone for MetricFilterV2Builder
impl Clone for MetricFilterV2Builder
source§fn clone(&self) -> MetricFilterV2Builder
fn clone(&self) -> MetricFilterV2Builder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MetricFilterV2Builder
impl Debug for MetricFilterV2Builder
source§impl Default for MetricFilterV2Builder
impl Default for MetricFilterV2Builder
source§fn default() -> MetricFilterV2Builder
fn default() -> MetricFilterV2Builder
source§impl PartialEq for MetricFilterV2Builder
impl PartialEq for MetricFilterV2Builder
source§fn eq(&self, other: &MetricFilterV2Builder) -> bool
fn eq(&self, other: &MetricFilterV2Builder) -> bool
self
and other
values to be equal, and is used
by ==
.