@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dimensions extends Object implements Serializable, Cloneable, StructuredPojo
A Dimensions
object that includes the Channel and Queue for the metric.
Constructor and Description |
---|
Dimensions() |
Modifier and Type | Method and Description |
---|---|
Dimensions |
clone() |
boolean |
equals(Object obj) |
String |
getChannel()
The channel used for grouping and filters.
|
QueueReference |
getQueue()
A
QueueReference object used as one part of dimension for the metrics results. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannel(String channel)
The channel used for grouping and filters.
|
void |
setQueue(QueueReference queue)
A
QueueReference object used as one part of dimension for the metrics results. |
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(String channel)
The channel used for grouping and filters.
|
Dimensions |
withQueue(QueueReference queue)
A
QueueReference object used as one part of dimension for the metrics results. |
public void setQueue(QueueReference queue)
A QueueReference
object used as one part of dimension for the metrics results.
queue
- A QueueReference
object used as one part of dimension for the metrics results.public QueueReference getQueue()
A QueueReference
object used as one part of dimension for the metrics results.
QueueReference
object used as one part of dimension for the metrics results.public Dimensions withQueue(QueueReference queue)
A QueueReference
object used as one part of dimension for the metrics results.
queue
- A QueueReference
object used as one part of dimension for the metrics results.public void setChannel(String channel)
The channel used for grouping and filters. Only VOICE is supported.
channel
- The channel used for grouping and filters. Only VOICE is supported.Channel
public String getChannel()
The channel used for grouping and filters. Only VOICE is supported.
Channel
public Dimensions withChannel(String channel)
The channel used for grouping and filters. Only VOICE is supported.
channel
- The channel used for grouping and filters. Only VOICE is supported.Channel
public Dimensions withChannel(Channel channel)
The channel used for grouping and filters. Only VOICE is supported.
channel
- The channel used for grouping and filters. Only VOICE is supported.Channel
public String toString()
toString
in class Object
Object.toString()
public Dimensions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.