public DescribeNotificationRuleResult withTargets(java.util.Collection<TargetSummary> targets) {
        setTargets(targets);
        return this;
    }
<p>
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
</p>

@param targets
       A list of the Chatbot topics and Chatbot clients associated with the notification rule.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codestarnotifications/src/main/java/com/amazonaws/services/codestarnotifications/model/DescribeNotificationRuleResult.java