public DescribeEventTopicsRequest withTopicNames(java.util.Collection<String> topicNames) {
        setTopicNames(topicNames);
        return this;
    }
<p>
A list of Amazon SNS topic names for which to obtain the information. If this member is null, all associations
for the specified Directory ID are returned.
</p>
<p>
An empty list results in an <code>InvalidParameterException</code> being thrown.
</p>

@param topicNames
       A list of Amazon SNS topic names for which to obtain the information. If this member is null, all
       associations for the specified Directory ID are returned.</p>
       <p>
       An empty list results in an <code>InvalidParameterException</code> being thrown.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/DescribeEventTopicsRequest.java