@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueueInfo extends Object implements Serializable, Cloneable, StructuredPojo
If this contact was queued, this contains information about the queue.
Constructor and Description |
---|
QueueInfo() |
Modifier and Type | Method and Description |
---|---|
QueueInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getEnqueueTimestamp()
The timestamp when the contact was added to the queue.
|
String |
getId()
The identifier of the agent who accepted the contact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnqueueTimestamp(Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
|
void |
setId(String id)
The identifier of the agent who accepted the contact.
|
String |
toString()
Returns a string representation of this object.
|
QueueInfo |
withEnqueueTimestamp(Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
|
QueueInfo |
withId(String id)
The identifier of the agent who accepted the contact.
|
public void setId(String id)
The identifier of the agent who accepted the contact.
id
- The identifier of the agent who accepted the contact.public String getId()
The identifier of the agent who accepted the contact.
public QueueInfo withId(String id)
The identifier of the agent who accepted the contact.
id
- The identifier of the agent who accepted the contact.public void setEnqueueTimestamp(Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
enqueueTimestamp
- The timestamp when the contact was added to the queue.public Date getEnqueueTimestamp()
The timestamp when the contact was added to the queue.
public QueueInfo withEnqueueTimestamp(Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
enqueueTimestamp
- The timestamp when the contact was added to the queue.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.