@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilterV2 extends Object implements Serializable, Cloneable, StructuredPojo
Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.
| Constructor and Description |
|---|
FilterV2() |
| Modifier and Type | Method and Description |
|---|---|
FilterV2 |
clone() |
boolean |
equals(Object obj) |
String |
getFilterKey()
The key to use for filtering data.
|
List<String> |
getFilterValues()
The identifiers to use for filtering data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFilterKey(String filterKey)
The key to use for filtering data.
|
void |
setFilterValues(Collection<String> filterValues)
The identifiers to use for filtering data.
|
String |
toString()
Returns a string representation of this object.
|
FilterV2 |
withFilterKey(String filterKey)
The key to use for filtering data.
|
FilterV2 |
withFilterValues(Collection<String> filterValues)
The identifiers to use for filtering data.
|
FilterV2 |
withFilterValues(String... filterValues)
The identifiers to use for filtering data.
|
public void setFilterKey(String filterKey)
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.
filterKey - 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.public String getFilterKey()
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.
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.public FilterV2 withFilterKey(String filterKey)
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.
filterKey - 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.public List<String> getFilterValues()
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.
QUEUE,
you would add queue IDs or ARNs in FilterValues.public void setFilterValues(Collection<String> filterValues)
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.
filterValues - 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.public FilterV2 withFilterValues(String... filterValues)
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.
NOTE: This method appends the values to the existing list (if any). Use
setFilterValues(java.util.Collection) or withFilterValues(java.util.Collection) if you want to
override the existing values.
filterValues - 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.public FilterV2 withFilterValues(Collection<String> filterValues)
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.
filterValues - 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.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.