public PreviewOverride withNewMembers(String... newMembers) {
        if (this.newMembers == null) {
            setNewMembers(new java.util.ArrayList<String>(newMembers.length));
        }
        for (String ele : newMembers) {
            this.newMembers.add(ele);
        }
        return this;
    }
<p>
Information about contacts to add to an on-call rotation override.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNewMembers(java.util.Collection)} or {@link #withNewMembers(java.util.Collection)} if you want to
override the existing values.
</p>

@param newMembers
       Information about contacts to add to an on-call rotation override.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/PreviewOverride.java