public class Filters
extends java.lang.Object
implements java.io.Serializable
Contains the filter to apply when retrieving metrics.
Constructor and Description |
---|
Filters() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getChannels()
The channel to use to filter the metrics.
|
java.util.List<java.lang.String> |
getQueues()
The queues to use to filter the metrics.
|
int |
hashCode() |
void |
setChannels(java.util.Collection<java.lang.String> channels)
The channel to use to filter the metrics.
|
void |
setQueues(java.util.Collection<java.lang.String> queues)
The queues to use to filter the metrics.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Filters |
withChannels(java.util.Collection<java.lang.String> channels)
The channel to use to filter the metrics.
|
Filters |
withChannels(java.lang.String... channels)
The channel to use to filter the metrics.
|
Filters |
withQueues(java.util.Collection<java.lang.String> queues)
The queues to use to filter the metrics.
|
Filters |
withQueues(java.lang.String... queues)
The queues to use to filter the metrics.
|
public java.util.List<java.lang.String> getQueues()
The queues to use to filter the metrics. You can specify up to 100 queues per request.
The queues to use to filter the metrics. You can specify up to 100 queues per request.
public void setQueues(java.util.Collection<java.lang.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(java.lang.String... queues)
The queues to use to filter the metrics. You can specify up to 100 queues per request.
Returns a reference to this object so that method calls can be chained together.
queues
- The queues to use to filter the metrics. You can specify up to 100 queues per request.
public Filters withQueues(java.util.Collection<java.lang.String> queues)
The queues to use to filter the metrics. You can specify up to 100 queues per request.
Returns a reference to this object so that method calls can be chained together.
queues
- The queues to use to filter the metrics. You can specify up to 100 queues per request.
public java.util.List<java.lang.String> getChannels()
The channel to use to filter the metrics.
The channel to use to filter the metrics.
public void setChannels(java.util.Collection<java.lang.String> channels)
The channel to use to filter the metrics.
channels
- The channel to use to filter the metrics.
public Filters withChannels(java.lang.String... channels)
The channel to use to filter the metrics.
Returns a reference to this object so that method calls can be chained together.
channels
- The channel to use to filter the metrics.
public Filters withChannels(java.util.Collection<java.lang.String> channels)
The channel to use to filter the metrics.
Returns a reference to this object so that method calls can be chained together.
channels
- The channel to use to filter the metrics.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.