Struct aws_sdk_connect::types::builders::FilterV2Builder
source · #[non_exhaustive]pub struct FilterV2Builder { /* private fields */ }
Expand description
A builder for FilterV2
.
Implementations§
source§impl FilterV2Builder
impl FilterV2Builder
sourcepub fn filter_key(self, input: impl Into<String>) -> Self
pub fn filter_key(self, input: impl Into<String>) -> Self
The key to use for filtering data. For example, QUEUE
, ROUTING_PROFILE, AGENT
, CHANNEL
, AGENT_HIERARCHY_LEVEL_ONE
, AGENT_HIERARCHY_LEVEL_TWO
, AGENT_HIERARCHY_LEVEL_THREE
, AGENT_HIERARCHY_LEVEL_FOUR
, AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys.
sourcepub fn set_filter_key(self, input: Option<String>) -> Self
pub fn set_filter_key(self, input: Option<String>) -> Self
The key to use for filtering data. For example, QUEUE
, ROUTING_PROFILE, AGENT
, CHANNEL
, AGENT_HIERARCHY_LEVEL_ONE
, AGENT_HIERARCHY_LEVEL_TWO
, AGENT_HIERARCHY_LEVEL_THREE
, AGENT_HIERARCHY_LEVEL_FOUR
, AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys.
sourcepub fn get_filter_key(&self) -> &Option<String>
pub fn get_filter_key(&self) -> &Option<String>
The key to use for filtering data. For example, QUEUE
, ROUTING_PROFILE, AGENT
, CHANNEL
, AGENT_HIERARCHY_LEVEL_ONE
, AGENT_HIERARCHY_LEVEL_TWO
, AGENT_HIERARCHY_LEVEL_THREE
, AGENT_HIERARCHY_LEVEL_FOUR
, AGENT_HIERARCHY_LEVEL_FIVE
. There must be at least 1 key and a maximum 5 keys.
sourcepub fn filter_values(self, input: impl Into<String>) -> Self
pub fn filter_values(self, input: impl Into<String>) -> Self
Appends an item to filter_values
.
To override the contents of this collection use set_filter_values
.
The identifiers to use for filtering data. For example, if you have a filter key of QUEUE
, you would add queue IDs or ARNs in FilterValues
.
sourcepub fn set_filter_values(self, input: Option<Vec<String>>) -> Self
pub fn set_filter_values(self, input: Option<Vec<String>>) -> Self
The identifiers to use for filtering data. For example, if you have a filter key of QUEUE
, you would add queue IDs or ARNs in FilterValues
.
sourcepub fn get_filter_values(&self) -> &Option<Vec<String>>
pub fn get_filter_values(&self) -> &Option<Vec<String>>
The identifiers to use for filtering data. For example, if you have a filter key of QUEUE
, you would add queue IDs or ARNs in FilterValues
.
Trait Implementations§
source§impl Clone for FilterV2Builder
impl Clone for FilterV2Builder
source§fn clone(&self) -> FilterV2Builder
fn clone(&self) -> FilterV2Builder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FilterV2Builder
impl Debug for FilterV2Builder
source§impl Default for FilterV2Builder
impl Default for FilterV2Builder
source§fn default() -> FilterV2Builder
fn default() -> FilterV2Builder
source§impl PartialEq for FilterV2Builder
impl PartialEq for FilterV2Builder
source§fn eq(&self, other: &FilterV2Builder) -> bool
fn eq(&self, other: &FilterV2Builder) -> bool
self
and other
values to be equal, and is used
by ==
.