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.
Channel
public 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.
Channel
public 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.
Channel
public 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.
Channel
public 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.
Channel
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.