public GetContactListResult withTopics(Topic... topics) {
        if (this.topics == null) {
            setTopics(new java.util.ArrayList<Topic>(topics.length));
        }
        for (Topic ele : topics) {
            this.topics.add(ele);
        }
        return this;
    }
<p>
An interest group, theme, or label within a list. A contact list can have multiple topics.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTopics(java.util.Collection)} or {@link #withTopics(java.util.Collection)} if you want to override the
existing values.
</p>

@param topics
       An interest group, theme, or label within a list. A contact list can have multiple topics.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/GetContactListResult.java