Class RetainedMessageSummary
- java.lang.Object
-
- software.amazon.awssdk.services.iotdataplane.model.RetainedMessageSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>
@Generated("software.amazon.awssdk:codegen") public final class RetainedMessageSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>
Information about a single retained message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetainedMessageSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetainedMessageSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The Epoch date and time, in milliseconds, when the retained message was stored by IoT.LongpayloadSize()The size of the retained message's payload in bytes.Integerqos()The quality of service (QoS) level used to publish the retained message.List<SdkField<?>>sdkFields()static Class<? extends RetainedMessageSummary.Builder>serializableBuilderClass()RetainedMessageSummary.BuildertoBuilder()Stringtopic()The topic name to which the retained message was published.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
topic
public final String topic()
The topic name to which the retained message was published.
- Returns:
- The topic name to which the retained message was published.
-
payloadSize
public final Long payloadSize()
The size of the retained message's payload in bytes.
- Returns:
- The size of the retained message's payload in bytes.
-
qos
public final Integer qos()
The quality of service (QoS) level used to publish the retained message.
- Returns:
- The quality of service (QoS) level used to publish the retained message.
-
lastModifiedTime
public final Long lastModifiedTime()
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
- Returns:
- The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
-
toBuilder
public RetainedMessageSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetainedMessageSummary.Builder,RetainedMessageSummary>
-
builder
public static RetainedMessageSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetainedMessageSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-