public void setPayloadSize(Long payloadSize) {
        this.payloadSize = payloadSize;
    }
<p>
The size of the retained message's payload in bytes.
</p>

@param payloadSize
       The size of the retained message's payload in bytes.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iotdata/model/RetainedMessageSummary.java