public static interface GetRetainedMessageResponse.Builder extends IotDataPlaneResponse.Builder, SdkPojo, CopyableBuilder<GetRetainedMessageResponse.Builder,GetRetainedMessageResponse>
| Modifier and Type | Method and Description |
|---|---|
GetRetainedMessageResponse.Builder |
lastModifiedTime(Long lastModifiedTime)
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
|
GetRetainedMessageResponse.Builder |
payload(SdkBytes payload)
The Base64-encoded message payload of the retained message body.
|
GetRetainedMessageResponse.Builder |
qos(Integer qos)
The quality of service (QoS) level used to publish the retained message.
|
GetRetainedMessageResponse.Builder |
topic(String topic)
The topic name to which the retained message was published.
|
GetRetainedMessageResponse.Builder |
userProperties(SdkBytes userProperties)
A base64-encoded JSON string that includes an array of JSON objects, or null if the retained message doesn't
include any user properties.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRetainedMessageResponse.Builder topic(String topic)
The topic name to which the retained message was published.
topic - The topic name to which the retained message was published.GetRetainedMessageResponse.Builder payload(SdkBytes payload)
The Base64-encoded message payload of the retained message body.
payload - The Base64-encoded message payload of the retained message body.GetRetainedMessageResponse.Builder qos(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.GetRetainedMessageResponse.Builder lastModifiedTime(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.GetRetainedMessageResponse.Builder userProperties(SdkBytes userProperties)
A base64-encoded JSON string that includes an array of JSON objects, or null if the retained message doesn't include any user properties.
The following example userProperties parameter is a JSON string that represents two user
properties. Note that it will be base64-encoded:
[{"deviceName": "alpha"}, {"deviceCnt": "45"}]
userProperties - A base64-encoded JSON string that includes an array of JSON objects, or null if the retained message
doesn't include any user properties.
The following example userProperties parameter is a JSON string that represents two user
properties. Note that it will be base64-encoded:
[{"deviceName": "alpha"}, {"deviceCnt": "45"}]
Copyright © 2023. All rights reserved.