@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filters extends Object implements Serializable, Cloneable, StructuredPojo
The filter, either channel or queues, to apply to the metric results retrieved.
| Constructor and Description |
|---|
Filters() |
| Modifier and Type | Method and Description |
|---|---|
Filters |
clone() |
boolean |
equals(Object obj) |
List<String> |
getChannels()
The Channel to use as a filter for the metrics returned.
|
List<String> |
getQueues()
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChannels(Collection<String> channels)
The Channel to use as a filter for the metrics returned.
|
void |
setQueues(Collection<String> queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Filters |
withChannels(Channel... channels)
The Channel to use as a filter for the metrics returned.
|
Filters |
withChannels(Collection<String> channels)
The Channel to use as a filter for the metrics returned.
|
Filters |
withChannels(String... channels)
The Channel to use as a filter for the metrics returned.
|
Filters |
withQueues(Collection<String> queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved.
|
Filters |
withQueues(String... queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved.
|
public List<String> getQueues()
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both IDs and ARNs in a request.
public void setQueues(Collection<String> queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both IDs and ARNs in a request.
queues - A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both
IDs and ARNs in a request.public Filters withQueues(String... queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both IDs and ARNs in a 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 - A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both
IDs and ARNs in a request.public Filters withQueues(Collection<String> queues)
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both IDs and ARNs in a request.
queues - A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved. You can include both
IDs and ARNs in a request.public List<String> getChannels()
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
Channelpublic void setChannels(Collection<String> channels)
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
channels - The Channel to use as a filter for the metrics returned. Only VOICE is supported.Channelpublic Filters withChannels(String... channels)
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
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 as a filter for the metrics returned. Only VOICE is supported.Channelpublic Filters withChannels(Collection<String> channels)
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
channels - The Channel to use as a filter for the metrics returned. Only VOICE is supported.Channelpublic Filters withChannels(Channel... channels)
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
channels - The Channel to use as a filter for the metrics returned. Only VOICE is supported.Channelpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.