@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Receipt extends Object implements Serializable, Cloneable, StructuredPojo
The receipt for the message delivered to the recipient.
Constructor and Description |
---|
Receipt() |
Modifier and Type | Method and Description |
---|---|
Receipt |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveredTimestamp()
The time when the message was delivered to the recipient.
|
String |
getReadTimestamp()
The time when the message was read by the recipient.
|
String |
getRecipientParticipantId()
The identifier of the recipient of the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeliveredTimestamp(String deliveredTimestamp)
The time when the message was delivered to the recipient.
|
void |
setReadTimestamp(String readTimestamp)
The time when the message was read by the recipient.
|
void |
setRecipientParticipantId(String recipientParticipantId)
The identifier of the recipient of the message.
|
String |
toString()
Returns a string representation of this object.
|
Receipt |
withDeliveredTimestamp(String deliveredTimestamp)
The time when the message was delivered to the recipient.
|
Receipt |
withReadTimestamp(String readTimestamp)
The time when the message was read by the recipient.
|
Receipt |
withRecipientParticipantId(String recipientParticipantId)
The identifier of the recipient of the message.
|
public void setDeliveredTimestamp(String deliveredTimestamp)
The time when the message was delivered to the recipient.
deliveredTimestamp
- The time when the message was delivered to the recipient.public String getDeliveredTimestamp()
The time when the message was delivered to the recipient.
public Receipt withDeliveredTimestamp(String deliveredTimestamp)
The time when the message was delivered to the recipient.
deliveredTimestamp
- The time when the message was delivered to the recipient.public void setReadTimestamp(String readTimestamp)
The time when the message was read by the recipient.
readTimestamp
- The time when the message was read by the recipient.public String getReadTimestamp()
The time when the message was read by the recipient.
public Receipt withReadTimestamp(String readTimestamp)
The time when the message was read by the recipient.
readTimestamp
- The time when the message was read by the recipient.public void setRecipientParticipantId(String recipientParticipantId)
The identifier of the recipient of the message.
recipientParticipantId
- The identifier of the recipient of the message.public String getRecipientParticipantId()
The identifier of the recipient of the message.
public Receipt withRecipientParticipantId(String recipientParticipantId)
The identifier of the recipient of the message.
recipientParticipantId
- The identifier of the recipient of the message.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.