@Generated(value="software.amazon.awssdk:codegen") public final class Filters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filters.Builder,Filters>
The filter, either channel or queues, to apply to the metric results retrieved.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Filters.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Filters.Builder |
builder() |
List<Channel> |
channels()
The Channel to use as a filter for the metrics returned.
|
List<String> |
channelsAsStrings()
The Channel to use as a filter for the metrics returned.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
queues()
A list of up to 100 queue IDs or queue ARNs to use to filter the metrics retrieved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Filters.Builder> |
serializableBuilderClass() |
Filters.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Channel> channels()
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> channelsAsStrings()
The Channel to use as a filter for the metrics returned. Only VOICE is supported.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Filters.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Filters.Builder,Filters>public static Filters.Builder builder()
public static Class<? extends Filters.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.