public class Dimensions
extends java.lang.Object
implements java.io.Serializable
Contains information about the dimensions for a set of metrics.
| Constructor and Description |
|---|
Dimensions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannel()
The channel used for grouping and filters.
|
QueueReference |
getQueue()
Information about the queue for which metrics are returned.
|
int |
hashCode() |
void |
setChannel(Channel channel)
The channel used for grouping and filters.
|
void |
setChannel(java.lang.String channel)
The channel used for grouping and filters.
|
void |
setQueue(QueueReference queue)
Information about the queue for which metrics are returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Dimensions |
withChannel(Channel channel)
The channel used for grouping and filters.
|
Dimensions |
withChannel(java.lang.String channel)
The channel used for grouping and filters.
|
Dimensions |
withQueue(QueueReference queue)
Information about the queue for which metrics are returned.
|
public QueueReference getQueue()
Information about the queue for which metrics are returned.
Information about the queue for which metrics are returned.
public void setQueue(QueueReference queue)
Information about the queue for which metrics are returned.
queue - Information about the queue for which metrics are returned.
public Dimensions withQueue(QueueReference queue)
Information about the queue for which metrics are returned.
Returns a reference to this object so that method calls can be chained together.
queue - Information about the queue for which metrics are returned.
public java.lang.String getChannel()
The channel used for grouping and filters.
Constraints:
Allowed Values: VOICE, CHAT, TASK
The channel used for grouping and filters.
Channelpublic void setChannel(java.lang.String channel)
The channel used for grouping and filters.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channel used for grouping and filters.
Channelpublic Dimensions withChannel(java.lang.String channel)
The channel used for grouping and filters.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channel used for grouping and filters.
Channelpublic void setChannel(Channel channel)
The channel used for grouping and filters.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channel used for grouping and filters.
Channelpublic Dimensions withChannel(Channel channel)
The channel used for grouping and filters.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VOICE, CHAT, TASK
channel - The channel used for grouping and filters.
Channelpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.