public void setRetainedTopics(java.util.Collection<RetainedMessageSummary> retainedTopics) {
        if (retainedTopics == null) {
            this.retainedTopics = null;
            return;
        }

        this.retainedTopics = new java.util.ArrayList<RetainedMessageSummary>(retainedTopics);
    }
<p>
A summary list the account's retained messages. The information returned doesn't include the message payloads of
the retained messages.
</p>

@param retainedTopics
       A summary list the account's retained messages. The information returned doesn't include the message
       payloads of the retained messages.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iotdata/model/ListRetainedMessagesResult.java