@Generated(value="software.amazon.awssdk:codegen") public final class GetRetainedMessageResponse extends IotDataPlaneResponse implements ToCopyableBuilder<GetRetainedMessageResponse.Builder,GetRetainedMessageResponse>
The output from the GetRetainedMessage operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRetainedMessageResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetRetainedMessageResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastModifiedTime()
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
SdkBytes |
payload()
The Base64-encoded message payload of the retained message body.
|
Integer |
qos()
The quality of service (QoS) level used to publish the retained message.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRetainedMessageResponse.Builder> |
serializableBuilderClass() |
GetRetainedMessageResponse.Builder |
toBuilder() |
String |
topic()
The topic name to which the retained message was published.
|
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String topic()
The topic name to which the retained message was published.
public final SdkBytes payload()
The Base64-encoded message payload of the retained message body.
public final Integer qos()
The quality of service (QoS) level used to publish the retained message.
public final Long lastModifiedTime()
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
public GetRetainedMessageResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRetainedMessageResponse.Builder,GetRetainedMessageResponse>toBuilder in class AwsResponsepublic static GetRetainedMessageResponse.Builder builder()
public static Class<? extends GetRetainedMessageResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.