@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetainedMessageSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a single retained message.
Constructor and Description |
---|
RetainedMessageSummary() |
Modifier and Type | Method and Description |
---|---|
RetainedMessageSummary |
clone() |
boolean |
equals(Object obj) |
Long |
getLastModifiedTime()
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
Long |
getPayloadSize()
The size of the retained message's payload in bytes.
|
Integer |
getQos()
The quality of service (QoS) level used to publish the retained message.
|
String |
getTopic()
The topic name to which the retained message was published.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastModifiedTime(Long lastModifiedTime)
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
void |
setPayloadSize(Long payloadSize)
The size of the retained message's payload in bytes.
|
void |
setQos(Integer qos)
The quality of service (QoS) level used to publish the retained message.
|
void |
setTopic(String topic)
The topic name to which the retained message was published.
|
String |
toString()
Returns a string representation of this object.
|
RetainedMessageSummary |
withLastModifiedTime(Long lastModifiedTime)
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
RetainedMessageSummary |
withPayloadSize(Long payloadSize)
The size of the retained message's payload in bytes.
|
RetainedMessageSummary |
withQos(Integer qos)
The quality of service (QoS) level used to publish the retained message.
|
RetainedMessageSummary |
withTopic(String topic)
The topic name to which the retained message was published.
|
public void setTopic(String topic)
The topic name to which the retained message was published.
topic
- The topic name to which the retained message was published.public String getTopic()
The topic name to which the retained message was published.
public RetainedMessageSummary withTopic(String topic)
The topic name to which the retained message was published.
topic
- The topic name to which the retained message was published.public void setPayloadSize(Long payloadSize)
The size of the retained message's payload in bytes.
payloadSize
- The size of the retained message's payload in bytes.public Long getPayloadSize()
The size of the retained message's payload in bytes.
public RetainedMessageSummary withPayloadSize(Long payloadSize)
The size of the retained message's payload in bytes.
payloadSize
- The size of the retained message's payload in bytes.public void setQos(Integer qos)
The quality of service (QoS) level used to publish the retained message.
qos
- The quality of service (QoS) level used to publish the retained message.public Integer getQos()
The quality of service (QoS) level used to publish the retained message.
public RetainedMessageSummary withQos(Integer qos)
The quality of service (QoS) level used to publish the retained message.
qos
- The quality of service (QoS) level used to publish the retained message.public void setLastModifiedTime(Long lastModifiedTime)
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
lastModifiedTime
- The Epoch date and time, in milliseconds, when the retained message was stored by IoT.public Long getLastModifiedTime()
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
public RetainedMessageSummary withLastModifiedTime(Long lastModifiedTime)
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
lastModifiedTime
- The Epoch date and time, in milliseconds, when the retained message was stored by IoT.public String toString()
toString
in class Object
Object.toString()
public RetainedMessageSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.