public ListTopicRuleDestinationsResult withDestinationSummaries(TopicRuleDestinationSummary... destinationSummaries) {
        if (this.destinationSummaries == null) {
            setDestinationSummaries(new java.util.ArrayList<TopicRuleDestinationSummary>(destinationSummaries.length));
        }
        for (TopicRuleDestinationSummary ele : destinationSummaries) {
            this.destinationSummaries.add(ele);
        }
        return this;
    }
<p>
Information about a topic rule destination.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDestinationSummaries(java.util.Collection)} or {@link #withDestinationSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param destinationSummaries
       Information about a topic rule destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/ListTopicRuleDestinationsResult.java