public GetContactResult withTopicDefaultPreferences(TopicPreference... topicDefaultPreferences) {
        if (this.topicDefaultPreferences == null) {
            setTopicDefaultPreferences(new java.util.ArrayList<TopicPreference>(topicDefaultPreferences.length));
        }
        for (TopicPreference ele : topicDefaultPreferences) {
            this.topicDefaultPreferences.add(ele);
        }
        return this;
    }
<p>
The default topic preferences applied to the contact.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTopicDefaultPreferences(java.util.Collection)} or
{@link #withTopicDefaultPreferences(java.util.Collection)} if you want to override the existing values.
</p>

@param topicDefaultPreferences
       The default topic preferences applied to the contact.
@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/GetContactResult.java