@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 unique identifier for the queue.
|
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 unique identifier for the queue.
|
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 unique identifier for the queue.
|
public void setId(String id)
The unique identifier for the queue.
id
- The unique identifier for the queue.public String getId()
The unique identifier for the queue.
public QueueInfo withId(String id)
The unique identifier for the queue.
id
- The unique identifier for the queue.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.