Interface GetRetainedMessageResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<GetRetainedMessageResponse.Builder,,GetRetainedMessageResponse> IotDataPlaneResponse.Builder,SdkBuilder<GetRetainedMessageResponse.Builder,,GetRetainedMessageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetRetainedMessageResponse
- 
Method Summary
Modifier and TypeMethodDescriptionlastModifiedTime(Long lastModifiedTime) The Epoch date and time, in milliseconds, when the retained message was stored by IoT.The Base64-encoded message payload of the retained message body.The quality of service (QoS) level used to publish the retained message.The topic name to which the retained message was published.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotdataplane.model.IotDataPlaneResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
topic
The topic name to which the retained message was published.
- Parameters:
 topic- The topic name to which the retained message was published.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
payload
The Base64-encoded message payload of the retained message body.
- Parameters:
 payload- The Base64-encoded message payload of the retained message body.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
qos
The quality of service (QoS) level used to publish the retained message.
- Parameters:
 qos- The quality of service (QoS) level used to publish the retained message.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
lastModifiedTime
The Epoch date and time, in milliseconds, when the retained message was stored by IoT.
- Parameters:
 lastModifiedTime- The Epoch date and time, in milliseconds, when the retained message was stored by IoT.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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
userPropertiesparameter is a JSON string that represents two user properties. Note that it will be base64-encoded:[{"deviceName": "alpha"}, {"deviceCnt": "45"}]- Parameters:
 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
userPropertiesparameter is a JSON string that represents two user properties. Note that it will be base64-encoded:[{"deviceName": "alpha"}, {"deviceCnt": "45"}]- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -