@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.
|
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.
|
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.
|
public List<String> getQueues()
The queues to use to filter the metrics. You can specify up to 100 queues per request.
public void setQueues(Collection<String> queues)
The queues to use to filter the metrics. You can specify up to 100 queues per request.
queues
- The queues to use to filter the metrics. You can specify up to 100 queues per request.public Filters withQueues(String... queues)
The queues to use to filter the metrics. You can specify up to 100 queues per 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 can specify up to 100 queues per request.public Filters withQueues(Collection<String> queues)
The queues to use to filter the metrics. You can specify up to 100 queues per request.
queues
- The queues to use to filter the metrics. You can specify up to 100 queues per 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 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.