@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filters extends Object implements Serializable, Cloneable, StructuredPojo
Contains the filter to apply when retrieving metrics.
Constructor and Description |
---|
Filters() |
Modifier and Type | Method and Description |
---|---|
Filters |
clone() |
boolean |
equals(Object obj) |
List<String> |
getChannels()
The channel to use to filter the metrics.
|
List<String> |
getQueues()
The queues to use to filter the metrics.
|
List<String> |
getRoutingProfiles()
A list of up to 100 routing profile IDs or ARNs.
|
List<String> |
getRoutingStepExpressions()
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannels(Collection<String> channels)
The channel to use to filter the metrics.
|
void |
setQueues(Collection<String> queues)
The queues to use to filter the metrics.
|
void |
setRoutingProfiles(Collection<String> routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
|
void |
setRoutingStepExpressions(Collection<String> routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
|
String |
toString()
Returns a string representation of this object.
|
Filters |
withChannels(Channel... channels)
The channel to use to filter the metrics.
|
Filters |
withChannels(Collection<String> channels)
The channel to use to filter the metrics.
|
Filters |
withChannels(String... channels)
The channel to use to filter the metrics.
|
Filters |
withQueues(Collection<String> queues)
The queues to use to filter the metrics.
|
Filters |
withQueues(String... queues)
The queues to use to filter the metrics.
|
Filters |
withRoutingProfiles(Collection<String> routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
|
Filters |
withRoutingProfiles(String... routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
|
Filters |
withRoutingStepExpressions(Collection<String> routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
|
Filters |
withRoutingStepExpressions(String... routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
|
public List<String> getQueues()
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
per request. The GetCurrentMetricsData
API in particular requires a queue when you include a
Filter
in your request.
GetCurrentMetricsData
API in particular requires a queue when you
include a Filter
in your request.public void setQueues(Collection<String> queues)
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
per request. The GetCurrentMetricsData
API in particular requires a queue when you include a
Filter
in your request.
queues
- The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100
queues per request. The GetCurrentMetricsData
API in particular requires a queue when you
include a Filter
in your request.public Filters withQueues(String... queues)
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
per request. The GetCurrentMetricsData
API in particular requires a queue when you include a
Filter
in your request.
NOTE: This method appends the values to the existing list (if any). Use
setQueues(java.util.Collection)
or withQueues(java.util.Collection)
if you want to override the
existing values.
queues
- The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100
queues per request. The GetCurrentMetricsData
API in particular requires a queue when you
include a Filter
in your request.public Filters withQueues(Collection<String> queues)
The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100 queues
per request. The GetCurrentMetricsData
API in particular requires a queue when you include a
Filter
in your request.
queues
- The queues to use to filter the metrics. You should specify at least one queue, and can specify up to 100
queues per request. The GetCurrentMetricsData
API in particular requires a queue when you
include a Filter
in your request.public List<String> getChannels()
The channel to use to filter the metrics.
Channel
public void setChannels(Collection<String> channels)
The channel to use to filter the metrics.
channels
- The channel to use to filter the metrics.Channel
public Filters withChannels(String... channels)
The channel to use to filter the metrics.
NOTE: This method appends the values to the existing list (if any). Use
setChannels(java.util.Collection)
or withChannels(java.util.Collection)
if you want to override
the existing values.
channels
- The channel to use to filter the metrics.Channel
public Filters withChannels(Collection<String> channels)
The channel to use to filter the metrics.
channels
- The channel to use to filter the metrics.Channel
public Filters withChannels(Channel... channels)
The channel to use to filter the metrics.
channels
- The channel to use to filter the metrics.Channel
public List<String> getRoutingProfiles()
A list of up to 100 routing profile IDs or ARNs.
public void setRoutingProfiles(Collection<String> routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
routingProfiles
- A list of up to 100 routing profile IDs or ARNs.public Filters withRoutingProfiles(String... routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setRoutingProfiles(java.util.Collection)
or withRoutingProfiles(java.util.Collection)
if you
want to override the existing values.
routingProfiles
- A list of up to 100 routing profile IDs or ARNs.public Filters withRoutingProfiles(Collection<String> routingProfiles)
A list of up to 100 routing profile IDs or ARNs.
routingProfiles
- A list of up to 100 routing profile IDs or ARNs.public List<String> getRoutingStepExpressions()
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
public void setRoutingStepExpressions(Collection<String> routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
routingStepExpressions
- A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.public Filters withRoutingStepExpressions(String... routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
NOTE: This method appends the values to the existing list (if any). Use
setRoutingStepExpressions(java.util.Collection)
or
withRoutingStepExpressions(java.util.Collection)
if you want to override the existing values.
routingStepExpressions
- A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.public Filters withRoutingStepExpressions(Collection<String> routingStepExpressions)
A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.
routingStepExpressions
- A list of expressions as a filter, in which an expression is an object of a step in a routing criteria.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.