public void setQos(Integer qos) {
        this.qos = qos;
    }
<p>
The quality of service (QoS) level used to publish the retained message.
</p>

@param qos
       The quality of service (QoS) level used to publish the retained message.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iotdata/model/RetainedMessageSummary.java